get_factor_score_coefficients: Return factor score coefficients

View source: R/main.R

get_factor_score_coefficientsR Documentation

Return factor score coefficients

Description

Return factor score coefficients

Usage

get_factor_score_coefficients(m, latent = TRUE, errors = FALSE, ...)

Arguments

m

Structural model represented by lavaan syntax or output of sim_standardized_matrices function.

latent

Include latent variables.

errors

Include observed error and latent disturbances variables.

...

parameters passed to the 'sim_standardized_matrices' function

Value

A matrix of factor score coefficients

Examples

m <- "
A =~ 0.5 * A1 + 0.8 * A2 + 0.8 * A3
B =~ 0.5 * B1 + 0.8 * B2 + 0.8 * B3
B ~ 0.5 * A
"
get_factor_score_coefficients(m)

wjschne/simstandard documentation built on April 13, 2024, 4:44 p.m.