get_model_names: Return model names

View source: R/main.R

get_model_namesR Documentation

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

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)

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