print.lrt {semlrtp}R Documentation

Print an 'lrt'- Class Object

Description

Print the content of an lrt-class object.

Usage

## S3 method for class 'lrt'
print(x, digits = 3, ...)

Arguments

x

An lrt-class object.

digits

Integer. The number of decimal places to print. Default is 3.

...

Optional arguments. Not used.

Details

It is the print method for the output of lrt().

Value

x is returned invisibly. Called for its side effect.

Author(s)

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

See Also

lrtp()

Examples


library(lavaan)
data(data_sem16)
mod <-
"
f1 =~ x1 + x2 + x3
f2 =~ x4 + x5 + x6
"
fit <- sem(mod, data_sem16)

out <- lrt(fit, par_id = "f1 ~~ f2")
out


[Package semlrtp version 0.1.1 Index]