I have looked at a set of data and decided it would be good to remove outliers, with an outlier having the definition of being 2SD away from the mean.
If I have a set of data, say 500 rows with 15 different attributes, how can I remove all the rows which have 1 or more attribute which is 2 standard deviations away from the mean?
Is there an easy way to do this using R? Thanks,