The development of the R packages
The Development of the networksem Package
The package networksem includes various functions to analyze network data in the SEM framework. networksem is an open-source R package and welcomes contribution. It can be found at this github repository.
networksem has two major components.
- Functions started with sem.net: These are functions used to convert network data into SEM compatible formats and then embed those data in lavaan-based SEM analyses.
- Other functions: functions such as summary() and path.networksem() calculates values of interest such as mediation effect post-hoc.