as_mplus {tidySEM} | R Documentation |
Convert tidy_sem to 'Mplus' syntax
Description
Final stage in the 'tidySEM' workflow for syntax generation:
Convert the tidy_sem
object to 'Mplus' syntax.
Usage
as_mplus(x, ...)
Arguments
x |
An object of class |
... |
Additional parameters to be passed to and from functions. |
Value
Character vector.
Examples
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)
[Package tidySEM version 0.2.7 Index]