mgcfa_diagnose: Quick diagnostics for multiple-group lavaan models

View source: R/helpers.R

mgcfa_diagnoseR Documentation

Quick diagnostics for multiple-group lavaan models

Description

Quick diagnostics for multiple-group lavaan models

Usage

mgcfa_diagnose(lavaan.model, output = c("overall", "neg.var", "mi"))

Arguments

lavaan.model

Fitted lavaan multiple group model.

output

A character list of what diagnostics should be computed. #'

overall

Prints chi-sq, CFI, RMSEA, and SRMR

neg.var

Checks if there are negative variances of latent variables, if yes, identifies the groups and prints them.

mi

Aggregates modification indices across groups, finding the most impactful. Also prints the top part of sorted table of modification indices.

constraints

Optional. Applies and prints lavTestScore_clean.

Details

Doesn't return anything.


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