Last chance! 50% off unlimited learning
Sale ends in
Pre-sphered or pre-scaled version of data.
pre.sphere(x, mean.centred=FALSE)
pre.scale(x, mean.centred=FALSE)
matrix of data values
flag to centre the data values to have zero mean. Default is FALSE.
Pre-sphered or pre-scaled version of data. These
pre-transformations are required for implementing the plug-in
Hpi
selectors and the smoothed cross validation
Hscv
selectors.
For pre-scaling, the data values are pre-multiplied by
# NOT RUN {
data(unicef)
unicef.sp <- pre.sphere(as.matrix(unicef))
# }
Run the code above in your browser using DataLab