the input data. It must be an \(n\) by \(d\) matrix or a data frame.
locX
The location estimates of the columns of the input data X. Must be a vector of length \(d\).
scaleX
The scale estimates of the columns of the input data X. Must be a vector of length \(d\).
precScale
The precision scale used throughout the algorithm. Defaults to \(1e-12\)
imputeNA
Whether or not to impute the NAs with the location estimate
of the corresponding variable. Defaults to TRUE.
Value
A list with components:
Xw
The wrapped data.
colInWrap
The column numbers for which the scale estimate was larger than precScale. Those with scale estimate <= precScale do not occur in Xw to avoid division by (near) zero.
References
Raymaekers, J., Rousseeuw P.J. (2019). Fast robust correlation for high dimensional data. Technometrics, published online.