pen_mod | R Documentation |
This function create a lavaan model syntax with paths corresponding to paremeters penalized to 0 removed.
pen_mod(model, nm = NULL, pars_pen = NULL)
model |
lavaan output object. |
nm |
names(regsemOutput$coefficients). |
pars_pen |
a vector of numbers corresponding to paths to be removed (same sequence as regsemOutput$coefficients). |
new.mod new model in lavaan syntax.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.