R/syntax-as_syntax.R
as_mplus.Rd
Final stage in the 'tidySEM' workflow for syntax generation: Convert the tidy_sem object to 'Mplus' syntax.
tidy_sem
as_mplus(x, ...)
An object of class tidy_sem.
Additional parameters to be passed to and from functions.
Character vector.
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) #> [1] "x ON y;"