Learn R Programming

gimme (version 0.9.3)

count.excellent: 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
)

Value

The number of fit indices that are excellent.

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).