fa_MAR: Calculates the mean absolute residual at the case-level.

View source: R/factor_analysis.R

fa_MARR Documentation

Calculates the mean absolute residual at the case-level.

Description

Extracts the first factor, then uses the factor scores to predict the indicator values for each indicator and for each case. Returns a data.frame with residuals. Then calculates the mean absolute value of these by case.

Usage

fa_MAR(data, sort = T, ...)

Arguments

data

a data.frame.

sort

whether to sort the results or not. Defaults to true.

Examples

fa_MAR(iris[-5])

Deleetdk/kirkegaard documentation built on Feb. 28, 2025, 5:04 p.m.