get_model_names: Return model names

Description Usage Arguments Value Examples

View source: R/main.R

Description

Return model names

Usage

1

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

1
2
3
4
5
6
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)

simstandard documentation built on May 8, 2021, 1:06 a.m.