File: pen_mod.Rd

package info (click to toggle)
r-cran-regsem 1.6.2%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 496 kB
  • sloc: cpp: 263; ansic: 15; makefile: 2
file content (21 lines) | stat: -rw-r--r-- 610 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/pen_mod.R
\name{pen_mod}
\alias{pen_mod}
\title{Penalized model syntax.}
\usage{
pen_mod(model, nm = NULL, pars_pen = NULL)
}
\arguments{
\item{model}{lavaan output object.}

\item{nm}{names(regsemOutput$coefficients).}

\item{pars_pen}{a vector of numbers corresponding to paths to be removed (same sequence as regsemOutput$coefficients).}
}
\value{
new.mod new model in lavaan syntax.
}
\description{
This function create a lavaan model syntax with paths corresponding to paremeters penalized to 0 removed.
}