| measEq.syntax-class {semTools} | R Documentation |
Class for Representing a Measurement-Equivalence Model
Description
This class of object stores information used to automatically generate
lavaan model syntax to represent user-specified levels of measurement
equivalence/invariance across groups and/or repeated measures. See
measEq.syntax for details.
Usage
## S4 method for signature 'measEq.syntax'
as.character(x, package = "lavaan",
params = NULL, single = TRUE, groups.as.blocks = FALSE)
## S4 method for signature 'measEq.syntax'
show(object)
## S4 method for signature 'measEq.syntax'
summary(object, verbose = TRUE)
## S4 method for signature 'measEq.syntax'
update(object, ..., evaluate = TRUE, change.syntax = NULL)
Arguments
x, object |
an object of class |
package |
|
params |
|
single |
|
groups.as.blocks |
|
verbose |
|
... |
Additional arguments to the |
evaluate |
If |
change.syntax |
|
Value
summary |
|
show |
|
update |
|
as.character |
|
Slots
packagecharacterindicating the software package used to represent the model. Currently, only"lavaan"is available, which uses the LISREL representation (seelavOptions). In the future,"OpenMx"may become available, using RAM representation.model.typecharacter. Currently, only "cfa" is available. Future versions may allow for MIMIC / RFA models, where invariance can be tested across levels of exogenous variables explicitly included as predictors of indicators, controlling for their effects on (or correlation with) the common factors.callThe function call as returned by
match.call(), with some arguments updated if necessary for logical consistency.meanstructurelogicalindicating whether a mean structure is included in the model.numericcharactervector namingnumericmanifest indicators.orderedcharactervector namingorderedindicators.parameterizationcharacter. SeelavOptions.specifylistof parameter matrices, similar in form to the output oflavInspect(fit, "free"). These matrices arelogical, indicating whether each parameter should be specified in the model syntax.valueslistof parameter matrices, similar in form to the output oflavInspect(fit, "free"). These matrices arenumeric, indicating whether each parameter should be freely estimated (indicated byNA) or fixed to a particular value.labelslistof parameter matrices, similar in form to the output oflavInspect(fit, "free"). These matrices containcharacterlabels used to constrain parameters to equality.constraintscharactervector containing additional equality constraints used to identify the model whenID.fac = "fx".ngroupsintegerindicating the number of groups.
Author(s)
Terrence D. Jorgensen (University of Amsterdam; TJorgensen314@gmail.com)
Examples
## See ?measEq.syntax help page for examples using lavaan