View source: R/rrcov.control.R
rrcov.control | R Documentation |
Auxiliary function for passing the estimation options as parameters to the estimation functions.
rrcov.control(alpha = 1/2, method = c("covMcd", "covComed", "ltsReg"),
nsamp = 500, nmini = 300, kmini = 5,
seed = NULL, tolSolve = 1e-14,
scalefn = "hrv2012", maxcsteps = 200,
trace = FALSE,
wgtFUN = "01.original", beta,
use.correction = identical(wgtFUN, "01.original"),
adjust = FALSE)
alpha |
This parameter controls the size of the subsets over
which the determinant is minimized, i.e., |
method |
a string specifying the “main” function for which
|
nsamp |
number of subsets used for initial estimates or |
nmini , kmini |
for |
seed |
initial seed for R's random number generator; see
|
tolSolve |
numeric tolerance to be used for inversion
( |
scalefn |
(for deterministic |
maxcsteps |
integer specifying the maximal number of concentration steps for the deterministic MCD. |
trace |
logical or integer indicating whether to print
intermediate results. Default is |
wgtFUN |
a character string or |
beta |
a quantile, experimentally used for some of the prespecified
|
use.correction |
whether to use finite sample correction factors.
Defaults to |
adjust |
(for |
A list with components, as the parameters passed by the invocation
Valentin Todorov
For details, see the documentation about ltsReg
and
covMcd
, respectively.
data(Animals, package = "MASS")
brain <- Animals[c(1:24, 26:25, 27:28),]
data(hbk)
hbk.x <- data.matrix(hbk[, 1:3])
ctrl <- rrcov.control(alpha=0.75, trace=TRUE)
covMcd(hbk.x, control = ctrl)
covMcd(log(brain), control = ctrl)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.