Description Usage Arguments Author(s) See Also
These functions are provided for compatibility with older versions only, and may be defunct as soon as the next release.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20  fitMediation(x, y, m, covariates = NULL, data, ...)
regControl(efficiency = 0.85, maxIterations = 200, tol = 1e07,
seed = NULL)
covControl(prob = 0.95, maxIterations = 200, tol = 1e07)
covHuber(...)
covML(...)
testMediation(x, ...)
## Default S3 method:
testMediation(x, y, m, covariates = NULL, data, ...)
## S3 method for class 'fit_mediation'
testMediation(x, ...)
plotMediation(...)

x 
either a numeric vector containing the independent variable, or
(if 
y 
either a numeric vector containing the dependent variable, or
(if 
m 
either a numeric vector or data frame containing the proposed
mediator variables, or (if 
covariates 
optional; either a numeric vector or data frame
containing additional covariates to be used as control variables, or (if

data 
an optional 
... 
arguments to be passed down 
efficiency 
a numeric value giving the desired efficiency (defaults to 0.85 for 85% efficiency). 
maxIterations 
an integer giving the maximum number of iterations in iterative algorithms. 
tol 
a small positive numeric value to be used to determine convergence in various parts of the algorithm. 
seed 
optional initial seed for the random number generator (see

prob 
numeric; probability for the quantile of the chisquared distribution to be used as cutoff point in the Huber weight function (defaults to 0.95). 
Andreas Alfons
fit_mediation
, test_mediation
,
plot_mediation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.