robmed-deprecated: Deprecated functions in package 'robmed'

Description Usage Arguments Author(s) See Also

Description

These functions are provided for compatibility with older versions only, and may be defunct as soon as the next release.

Usage

 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 = 1e-07,
  seed = NULL)

covControl(prob = 0.95, maxIterations = 200, tol = 1e-07)

covHuber(...)

covML(...)

testMediation(x, ...)

## Default S3 method:
testMediation(x, y, m, covariates = NULL, data, ...)

## S3 method for class 'fit_mediation'
testMediation(x, ...)

plotMediation(...)

Arguments

x

either a numeric vector containing the independent variable, or (if data is supplied) a character string, an integer or a logical vector specifying the corresponding column of data.

y

either a numeric vector containing the dependent variable, or (if data is supplied) a character string, an integer or a logical vector specifying the corresponding column of data.

m

either a numeric vector or data frame containing the proposed mediator variables, or (if data is supplied) a character, integer or logical vector specifying the corresponding columns of data.

covariates

optional; either a numeric vector or data frame containing additional covariates to be used as control variables, or (if data is supplied) a character, integer or logical vector specifying the corresponding columns of data.

data

an optional data.frame containing the variables.

...

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 .Random.seed).

prob

numeric; probability for the quantile of the chi-squared distribution to be used as cutoff point in the Huber weight function (defaults to 0.95).

Author(s)

Andreas Alfons

See Also

Deprecated

fit_mediation, test_mediation, plot_mediation

reg_control, cov_control

cov_Huber, cov_ML


robmed documentation built on Nov. 5, 2018, 5:06 p.m.