View source: R/print.sem_outs.R
print.sem_outs | R Documentation |
sem_outs
-Class ObjectPrint the content of
an sem_outs
-class object.
## S3 method for class 'sem_outs'
print(x, max_models = 20, ...)
x |
An |
max_models |
The maximum number of models to be printed. Default is 20. |
... |
Optional arguments. Ignored. |
The print method for the output
of fit_many()
.
x
is returned invisibly.
Called for its side effect.
Shu Fai Cheung https://orcid.org/0000-0002-9871-9448
An sem_outs
-class object
is generated by fit_many()
.
library(lavaan)
dat <- dat_path_model
mod <-
"
x3 ~ a*x1 + b*x2
x4 ~ a*x1
ab := a*b
"
fit <- sem(mod, dat_path_model, fixed.x = TRUE)
mod_to_add <- get_add(fit)
out <- fit_many(mod_to_add, fit)
out
print(out, max_models = 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.