Re: [R] good method of removing outliers?

2011-12-30 Thread Paul
On 30/12/11 17:03, Michael wrote: Happy holidays all! I know it's very subjective to determine whether some data is outlier or not... But are there reasonally good and realistic methods of identifying outliers in R? Thanks a lot! Ignoring the moral questions for a moment (totaly depends on y

Re: [R] good method of removing outliers?

2011-12-30 Thread Peter Langfelder
On Fri, Dec 30, 2011 at 9:03 AM, Michael wrote: > Happy holidays all! > > I know it's very subjective to determine whether some data is outlier or > not... > > But are there reasonally good and realistic methods of identifying outliers > in R? What kind of data do you have? For simple numeric dat

Re: [R] good method of removing outliers?

2011-12-30 Thread Joshua Wiley
Hi Michael, I'm afraid this is one of those cases where the short answer is "No" and the long answer is, "No." If you are working with a data set stored in a data frame, something like: sapply(mtcars, function(x) if (is.numeric(x)) range(x, na.rm = TRUE) else c(NA, NA)) should give you the rang

[R] good method of removing outliers?

2011-12-30 Thread Michael
Happy holidays all! I know it's very subjective to determine whether some data is outlier or not... But are there reasonally good and realistic methods of identifying outliers in R? Thanks a lot! [[alternative HTML version deleted]] __ R-help