Usage
lavTestScore(object, add = NULL, release = NULL, univariate = TRUE, cumulative = FALSE, epc = FALSE, verbose = FALSE, warn = TRUE)
Arguments
object
An object of class lavaan
.
add
Either a character string (typically between single quotes) or
a parameter table containing additional (currently fixed-to-zero) parameters
for which the score test must be computed.
release
Vector of Integers. The indices of the constraints that
should be released. The indices correspond to the order of the equality
constraints as they appear in the parameter table.
univariate
Logical. If TRUE
, compute the univariate score
statistics, one for each constraints.
cumulative
Logical. If TRUE
, order the univariate score
statistics from large to small, and compute a series of
multivariate score statistics, each time adding an additional constraint.
epc
Logical. If TRUE
, and we are releasing existing constraints,
compute the expected parameter changes for the existing (free) parameters,
for each released constraint.
verbose
Logical. Not used for now.
warn
Logical. If TRUE
, print out warnings if they occur.