getLambda: getLambda

Description Usage Arguments Value

View source: R/UtilityFunctions.R

Description

getLambda computes or extracts a matrix of factor loadings given some input. Methods exist to support an input of a dataframe, an mplus.model from MplusAutomation, a SingleGroupClass object from mirt, and a lavaan object from lavaan. Please do not use a tibble, as they do not support row names, and it is best if your items are given names.

Usage

1
getLambda(x, standardized = TRUE)

Arguments

x

an object to be converted into a factor loading matrix, or an object containing a fitted model from which a factor loading matrix will be extracted. Supported classes are data.frame, matrix, mplus.model, lavaan, and SingleGroupClass.

standardized

can be used to specify whether a standardized or unstandardized factor loading matrix should be returned. Only relevant for lavaan and mplus.model input. The standardized matrix for mplus.model is taken from stdyx results.

Value

A matrix of factor loadings


BifactorIndicesCalculator documentation built on May 13, 2021, 1:08 a.m.