make_indicators | R Documentation |
Make latent variable indicators with rbeta_ms function
make_indicators(
latent,
indicators = NULL,
mu = 0.8,
sigma = 0.05,
k = 3,
digits = 3
)
latent |
name of latent variable |
indicators |
vector of indicator names (assigned automatically if left NULL) |
mu |
mean of standardized coefficients |
sigma |
sd of standardized coeficients |
k |
number of indicator variables |
digits |
number of digits to round coefficients |
lavaan code for latent variable assignment
make_indicators("depression", mu = 0.8, sigma = 0.05, k = 4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.