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
package
character
indicating 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.type
character
. 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.call
The function call as returned by
match.call()
, with some arguments updated if necessary for logical consistency.meanstructure
logical
indicating whether a mean structure is included in the model.numeric
character
vector namingnumeric
manifest indicators.ordered
character
vector namingordered
indicators.parameterization
character
. SeelavOptions
.specify
list
of 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.values
list
of 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.labels
list
of parameter matrices, similar in form to the output oflavInspect(fit, "free")
. These matrices containcharacter
labels used to constrain parameters to equality.constraints
character
vector containing additional equality constraints used to identify the model whenID.fac = "fx"
.ngroups
integer
indicating 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