print.mc_out | R Documentation |
mc_out
-Class
ObjectPrint the content of the
output of do_mc()
or related
functions.
## S3 method for class 'mc_out'
print(x, ...)
x |
The output of |
... |
Other arguments. Not used. |
x
is returned invisibly.
Called for its side effect.
library(lavaan)
data(data_med_mod_ab1)
dat <- data_med_mod_ab1
mod <-
"
m ~ x + w + x:w + c1 + c2
y ~ m + w + m:w + x + c1 + c2
"
fit <- sem(mod, dat)
# In real research, R should be 5000 or even 10000
mc_out <- do_mc(fit, R = 100, seed = 1234)
# Print the output of do_boot()
mc_out
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.