measurement: Generate syntax for a measurement model

Description Usage Arguments Value Examples

View source: R/syntax-cfa.R

Description

Generate syntax for a measurement model for latent variables. This function relies on add_paths to generate syntax.

Usage

1

Arguments

x

An object for which a method exists, including tidy_sem (generated using dictionary, or data.frame (for which dictionary will be run first).

...

Additional parameters passed to add_paths.

Value

An object of class tidy_sem.

Examples

1
2
dict <- tidy_sem(c("bfi_1", "bfi_2", "bfi_3", "bfi_4", "bfi_5"))
measurement(dict)

tidySEM documentation built on Nov. 17, 2021, 1:07 a.m.