Description Usage Arguments Value Author(s) See Also Examples
Extract or compute confidence intervals for coefficients from (robust) mediation analysis.
1 2 3 4 5 6 7 
object 
an object inheriting from class 
parm 
an integer, character or logical vector specifying the
coefficients for which to extract or compute confidence intervals, or

level 
for the 
other 
a character string specifying how to compute the confidence
interval of the effects other than the indirect effect(s). Possible values
are 
... 
additional arguments are currently ignored. 
A numeric matrix containing the requested confidence intervals.
Andreas Alfons
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17  data("BSG2014")
# run fast and robust bootstrap test
robust_boot < test_mediation(BSG2014,
x = "ValueDiversity",
y = "TeamCommitment",
m = "TaskConflict",
robust = TRUE)
confint(robust_boot, other = "boot")
# run standard bootstrap test
standard_boot < test_mediation(BSG2014,
x = "ValueDiversity",
y = "TeamCommitment",
m = "TaskConflict",
robust = FALSE)
confint(standard_boot, other = "theory")

Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.