print.cibound: Print Method of a 'cibound'-class Object

View source: R/print_cibound.R

print.ciboundR Documentation

Print Method of a 'cibound'-class Object

Description

Print the diagnostic information of a cibound-class object.

Usage

## S3 method for class 'cibound'
print(x, digits = 5, ...)

Arguments

x

The output of a ci_bound_xx_i function. Currently the only such function is ci_bound_wn_i().

digits

The number of digits after the decimal point. To be passed to round(). Default is 5.

...

Other arguments. They will be ignored.

Details

This is the print method for the output of ci_bound_wn_i(), a cibound-class object. It prints the diagnostic information on the bound being found and the search process.

Value

x is returned invisibly. Called for its side effect.

Examples

data(simple_med)
dat <- simple_med

mod <-
"
m ~ x
y ~ m
"

fit_med <- lavaan::sem(mod, simple_med, fixed.x = FALSE)

fn_constr0 <- set_constraint(fit_med)

out1l <- ci_bound_wn_i(i = 1,
                       npar = 5,
                       sem_out = fit_med,
                       f_constr = fn_constr0,
                       which = "lbound")

# Print the output
out1l


semlbci documentation built on June 22, 2024, 10:55 a.m.