Usage
# set/get free parameters
lav_model_set_parameters(lavmodel, x = NULL)
lav_model_get_parameters(lavmodel, GLIST = NULL, type = "free",
extra = TRUE)# compute model-implied statistics
lav_model_implied(lavmodel, GLIST = NULL)
# compute standard errors
lav_model_vcov_se(lavmodel, lavpartable, VCOV = NULL, BOOT = NULL)
Arguments
lavmodel
An internal representation of a lavaan model.
GLIST
List. A list of model matrices, similar to the output of
lavInspect(object, "est")
.
type
Character string. If "free"
, only return the free model
parameters. If "user"
, return all the parameters (free and fixed) as
they appear in the user-specified parameter table.
extra
Logical. If TRUE
, also include values for rows in
the parameter table where the operator is one of ":="
, "=="
,
"<"
or ">"
.
lavpartable
A parameter table.
VCOV
Numeric matrix containing an estimate of the variance covariance matrix of the free model parameters.
BOOT
Numeric matrix containing the bootstrap based parameter estimates (in the columns) for each bootstrap sample (in the rows).