The ER
function is an implementation of the ERalgorithm of Little and Smith (1987).
1 2 
data 
a data frame or matrix 
weights 
sampling weights 
alpha 
probability for the quantile of the cutoff 
psi.par 
further parameters passed to the psifunction 
em.steps 
number of iteration steps of the EMalgorithm 
steps.output 
if 
Estep.output 
if 
tolerance 
convergence criterion (relative change) 
The Mstep of the EMalgorithm uses a onestep Mestimator.
sample.size 
number of observations 
number.of.variables 
Number of variables 
significance.level 

computation.time 
Elapsed computation time 
good.data 
Indices of the data in the final good subset 
outliers 
Indices of the outliers 
center 
Final estimate of the center 
scatter 
Final estimate of the covariance matrix 
dist 
Final Mahalanobis distances 
rob.weights 
Robustness weights in the final EM step 
Beat Hulliger
Little, R. and P. Smith (1987). Editing and imputation for quantitative survey data. Journal of the American Statistical Association, 82, 5868.
1 2 3 4 
Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
All documentation is copyright its authors; we didn't write any of that.