Learn R Programming

psycho (version 0.4.91)

get_cfa_model: Get CFA model.

Description

Get CFA model.

Usage

get_cfa_model(loadings, treshold = "max")

Arguments

loadings

Formatted loadings.

treshold

'max' or numeric. The treshold over which to associate an item with its component.

Examples

Run this code
# NOT RUN {
library(psycho)

x <- psych::fa(psych::Thurstone.33, 2)
loadings <- format_loadings(x)$loadings
get_cfa_model(loadings, treshold = "max")
get_cfa_model(loadings, treshold = 0.1)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab