https://stat.ethz.ch/CRAN/web/packages/piecewiseSEM/index.html
CRAN: Package piecewiseSEM
Implements piecewise structural equation modeling from a single list of structural equations, with new methods for non-linear, latent, and composite variables,...
cranpackage