Skip to main content

The development of the R packages

We have developed two R packages - networksem for SEM analysis with network data, and TextSEM for SEM analysis with text data. The source codes of both packages can be found on Githhub now.

We welcome anyone to contribute to the development of the packages. One can push the changes to the packages directly.

The Development of the networksem Package

The package networksem includes various functions to analyze network data in the SEM framework. 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. 
List of functions

The Development of the TextSEM Package