print.sem_outs {modelbpp}R Documentation

Print an sem_outs-Class Object

Description

Print the content of an sem_outs-class object.

Usage

## S3 method for class 'sem_outs'
print(x, max_models = 20, ...)

Arguments

x

An sem_outs-class object.

max_models

The maximum number of models to be printed. Default is 20.

...

Optional arguments. Ignored.

Details

The print method for the output of fit_many().

Value

x is returned invisibly. Called for its side effect.

Author(s)

Shu Fai Cheung https://orcid.org/0000-0002-9871-9448

See Also

An sem_outs-class object is generated by fit_many().

Examples


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)


[Package modelbpp version 0.1.3 Index]