Specify longitudinal measurement invariance of one factor models.

long_minvariance_syntax(
  var_list,
  add = NULL,
  remove = NULL,
  model = c("configural", "weak", "strong", "strict")
)

Arguments

var_list

List specifying the variable names for each time point. The number of variable names need to be identical at each time point (same measure).

add

String, lavaan syntax to be added to the model

remove

List, remove specific parts of the automatically generated model

model

String, specify measurement invariance model: "configural", "weak", "strong", or "strict".

measure_name

String, name of the measure

Value