MGCFAparameters: Computes MGCFA models for all available groups in the data

View source: R/server.functions.R

MGCFAparametersR Documentation

Computes MGCFA models for all available groups in the data

Description

Computes MGCFA models for all available groups in the data

Usage

MGCFAparameters(
  model = NULL,
  data,
  group = "cntry",
  parameters = "loadings",
  extra.options = NULL,
  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.

extra.options

Currently not used

shiny

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


MaksimRudnev/MIE.package documentation built on March 5, 2024, 1:24 p.m.