fitMeasures.esem_fit: Extract Fit Measures from an esem_fit

View source: R/methods.R

fitMeasures.esem_fitR Documentation

Extract Fit Measures from an esem_fit

Description

Forwards to lavaan::fitMeasures() when the fit used lavaan's efa() path. When wlsmv_stats is present (custom DWLS/WLSMV from besem_ordered(method = "rotation") or esem_ordered(method = "rotation")), returns those indices instead.

Usage

## S3 method for class 'esem_fit'
fitMeasures(
  object,
  fit.measures = c("cfi", "tli", "rmsea", "rmsea.ci.lower", "rmsea.ci.upper", "srmr",
    "aic", "bic"),
  ...
)

Arguments

object

An esem_fit object.

fit.measures

Character vector of fit index names. Default returns a standard set: CFI, TLI, RMSEA, SRMR, AIC, BIC.

...

Passed to lavaan::fitMeasures().

Value

A named numeric vector of fit indices (by default CFI, TLI, RMSEA with its confidence interval, SRMR, and, on lavaan paths, AIC and BIC).


bifactory documentation built on Oct. 28, 2026, 1:06 a.m.