Learn R Programming

simstandard (version 0.6.3)

get_model_names: Return model names

Description

Return model names

Usage

get_model_names(m, ...)

Arguments

m

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

...

parameters passed to the `sim_standardized_matrices` function

Value

A list of variable names

Examples

Run this code
# NOT RUN {
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_model_names(m)
# }

Run the code above in your browser using DataLab