as_mplus: Convert tidy_sem to 'Mplus' syntax

Description Usage Arguments Value Examples

View source: R/syntax-as_syntax.R

Description

Final stage in the 'tidySEM' workflow for syntax generation: Convert the tidy_sem object to 'Mplus' syntax.

Usage

1

Arguments

x

An object of class tidy_sem.

...

Additional parameters to be passed to and from functions.

Value

Character vector.

Examples

1
2
3
4
5
6
mod <- list(syntax = structure(list(lhs = "x", op = "~", rhs = "y",
                                    free = TRUE, value = "", label = "",
                                    category = "", aspect = ""),
            class = "data.frame", row.names = c(NA, -1L)))
class(mod) <- "tidy_sem"
as_mplus(mod)

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