View source: R/confint_lav_betaselect.R
confint.lav_betaselect | R Documentation |
Return the confidence
intervals of betas-select in the
output of lav_betaselect()
.
## S3 method for class 'lav_betaselect'
confint(object, parm, level = 0.95, ...)
object |
The output of |
parm |
Ignored due to the complexity in the naming. The confidence intervals of all parameters are always returned. |
level |
The level of confidence.
Ignored because the intervals should be
formed
when calling |
... |
Optional arguments. Ignored. |
The type of
confidence intervals depends
on the call to lav_betaselect()
.
This function does not recompute
the confidence interval.
A two-column matrix of the confidence intervals.
Shu Fai Cheung https://orcid.org/0000-0002-9871-9448
lav_betaselect()
library(lavaan)
mod <-
"
med ~ iv + mod + iv:mod
dv ~ med + iv
"
fit <- sem(mod,
data_test_medmod,
fixed.x = TRUE)
summary(fit)
fit_beta <- lav_betaselect(fit,
to_standardize = c("iv", "dv"))
confint(fit_beta)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.