Skip to contents

Computes MGCFA models for all available groups in the data

Usage

mgcfaParameters(
  model = NULL,
  data,
  group = "cntry",
  parameters = "loadings",
  ...,
  shiny = FALSE
)

Arguments

model

Model in lavaan syntax

data

The data

group

Character. Grouping variable.

parameters

Character. If "loadings" then configural model is fitted and loadings are returned. If "intercepts" then metric invariance model is fitted and intercepts are returned.

shiny

Logical. If it is evaluated in a shiny context. Default is TRUE.

extra.options

Currently not used