Usage
prepare (x, scaling = c("none","classical","MCD","robust","onestep"),
transformation = c("none","minus","reciprocal","logarithm",
"exponential","boxcox","clr","ilr","alr"),
alpha = NULL, powers = NULL, start = 0, alrVar)Arguments
x
a vector, matrix or data.frame.
scaling
the scaling to be applied to the data. Possible values are
"none", "classical", MCD, "robust" and
"onestep".
transformation
the transformation of the data. Possible values are
"none", "minus", "reciprocal", "logarithm",
"exponential", "boxcox", "clr", "ilr" and
"al
alpha
a numeric parameter controlling the size of the subset for the
MCD (if scaling="MCD"). See covMcd. powers
a numeric vector giving the powers to be used in the Box-Cox
transformation (if transformation="boxcox"). If NULL, the
powers are calculated with function powerTransform start
a constant to be added prior to Box-Cox transformation (if
transformation="boxcox").
alrVar
variable to be used as denominator in the additive logratio
transformation (if transformation="alr").