getModel: getModel

Description Usage Arguments Value

View source: R/getModel.R

Description

Extract a specific model from global MI testing or from model avaraging.

Usage

1
2
3
res <- getModel(res = NULL,
                       which = NULL,
                       silent = FALSE)

Arguments

res

Object generated by testMI or modelAveraging.

which

Either

  • String, for MI level in testMI. Can be configural , weak, strong, or strict.

  • Numeric, cluster number for desired partial MI model in modelAveraging.

silent

Do not print summary output? Defaults to FALSE.

Value

Parameters (and model fit for non-Bayesian) of a single unidimensional model of either a specific MI level or a specific partial MI model. Results are directly printed to the console but can be further inspected by functions of lavaan/mirt or blavaan/rstan.


Dani-Schulze/measurementInvariance documentation built on Jan. 28, 2022, 1:56 a.m.