- model
A description of the user-specified model. Typically, the model
is described using the lavaan model syntax. See
model.syntax
for more information. Alternatively, a
parameter table (eg. the output of the lavaanify()
function) is also
accepted.
- data
A data frame containing the observed variables used in
the model.
- cmd
Character. Which command is used to run the sem models. The possible
choices are "sem"
, "cfa"
or "lavaan"
, determining how
we deal with default options.
- se
Character. The type of standard errors that are used in the
final (structural) model. If "twostep"
(the default), the
standard errors take the estimation uncertainty of the first (measurement)
stage into account. If "standard"
, this uncertainty is ignored,
and we treat the measurement information as known. If "none"
,
no standard errors are computed.
- mm.list
List. Define the measurement blocks.
Each element of the list should
be either a single name of a latent variable, or a vector of latent
variable names. If omitted, a separate measurement
block is used for each latent variable.
- mm.args
List. Optional arguments for the fitting
function(s) of the measurement block(s) only. See lavOptions
for a complete list.
- struc.args
List. Optional arguments for the fitting function of the
structural part only. See lavOptions
for a complete list.
- sam.method
Character. Can be set to "local"
or "global"
.
- ...
Many more additional options can be defined, using 'name = value'.
See lavOptions
for a complete list. These options affect
both the measurement blocks and the structural part.
- local.options
List. Options specific for local SAM method (these
options may change over time).
- global.options
List. Options specific for global SAM method (not
used for now).
- output
Character. If "lavaan"
, a lavaan object returned. If
"list"
, a list is returned with all the ingredients from the
different stages.