print.semlbci {semlbci} | R Documentation |
Print Method of a 'semlbci' Object
Description
Prints the results of a semlbci
object, the output
of semlbci()
.
Usage
## S3 method for class 'semlbci'
print(
x,
digits = 3,
annotation = TRUE,
time = FALSE,
verbose = FALSE,
verbose_if_needed = TRUE,
drop_no_lbci = TRUE,
output = c("table", "text", "lavaan"),
sem_out = NULL,
lbci_only = drop_no_lbci,
ratio_digits = 1,
se = TRUE,
zstat = TRUE,
pvalue = TRUE,
boot.ci.type = "perc",
...
)
Arguments
x |
The output of |
digits |
The number of digits after the decimal point. To be
passed to |
annotation |
If |
time |
If |
verbose |
If |
verbose_if_needed |
If |
drop_no_lbci |
If |
output |
The type of printout.
If |
sem_out |
If |
lbci_only |
Used only if |
ratio_digits |
The number of digits after the decimal points for the ratios of distance from the confidence limits to the point estimates. Default is 1. |
se |
Logical. To be passed to
|
zstat |
Logical. To be passed to
|
pvalue |
Logical. To be passed
to |
boot.ci.type |
Logical. To be
passed to
|
... |
Other arguments. They will be ignored. |
Details
Prints the results of semlbci()
as a table.
Value
x
is returned invisibly. Called for its side effect.
Author(s)
Shu Fai Cheung https://orcid.org/0000-0002-9871-9448
See Also
Examples
library(lavaan)
mod <-
"
m ~ a*x
y ~ b*m
ab := a * b
"
fit_med <- sem(mod, simple_med, fixed.x = FALSE)
p_table <- parameterTable(fit_med)
p_table
lbci_med <- semlbci(fit_med,
pars = c("ab :="))
lbci_med
print(lbci_med, verbose_if_needed = FALSE)
print(lbci_med, verbose = TRUE)
print(lbci_med, time = TRUE)
print(lbci_med, annotation = FALSE)
print(lbci_med, digits = 4)
# Text output
print(lbci_med, output = "lavaan", sem_out = fit_med)
print(lbci_med, output = "lavaan", sem_out = fit_med, lbci_only = FALSE)
print(lbci_med, output = "lavaan", sem_out = fit_med, lbci_only = FALSE,
se = FALSE, zstat = FALSE, pvalue = FALSE)