View source: R/confint_semlbci.R
confint.semlbci | R Documentation |
Return the confidence intervals of the parameters
in the output of semlbci()
.
## S3 method for class 'semlbci'
confint(object, parm, level = 0.95, ...)
object |
The output of |
parm |
The parameters for which the confidence
intervals are returned. Not used because parameters
are defined by three or more columns ( |
level |
Ignored. The level of confidence is determined
when calling |
... |
Optional arguments. Ignored. |
It returns the likelihood-based confidence intervals
in the output of semlbci()
.
A two-column matrix of the confidence intervals.
Shu Fai Cheung https://orcid.org/0000-0002-9871-9448
semlbci()
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 = "ab :=")
lbci_med
confint(lbci_med)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.