count.excellent: Counts number of excellent fit indices

View source: R/count.excellent.R

count.excellentR Documentation

Counts number of excellent fit indices

Description

Counts number of excellent fit indices

Usage

count.excellent(
  indices,
  rmsea_cutoff = 0.05,
  srmr_cutoff = 0.05,
  nnfi_cutoff = 0.95,
  cfi_cutoff = 0.95
)

Arguments

indices

A vector of fit indices from lavaan.

rmsea_cutoff

Cutoff for RMSEA for an individual model(default is .05; must be between 0.0 and 1.0).

srmr_cutoff

Cutoff for SRMR for an individual model (default is .05; must be between 0.0 and 1.0).

nnfi_cutoff

Cutoff for NNFI for an individual model (default is .95; must be between 0.0 and 1.0).

cfi_cutoff

Cutoff for CFI for an individual model (default is .95; must be between 0.0 and 1.0).

Value

The number of fit indices that are excellent.


gimme documentation built on Aug. 22, 2025, 5:13 p.m.