rockem(x, control)covRob.control creates a list of the control parameters and their default values. See details for the required control parameters and their default values.covRob when the M-estimator is specified (via the optional argument estim = "m"). It may also be of interest to power users who want to compute a constrained m-estimate with a minimum of fuss.The required control parameters and their default values are:
[object Object],[object Object]
The control parameters quan and ntrial are passed to the function fastmcd which computes the initial robust estimate. The remaining parameters affect the constrained m-estimator.
[object Object],[object Object],[object Object],[object Object],[object Object]
covRob,
covRob.control.data(woodmod.dat)
X <- as.matrix(woodmod.dat)
m.control <- covRob.control("m")
rockem(X, m.control)Run the code above in your browser using DataLab