search for: extrm

Displaying 1 result from an estimated 1 matches for "extrm".

Did you mean: extra
2011 Oct 20
2
How to remove multiple outliers
...ioned sample script library(outliers) x1 <- c(10, 10, 11, 12, 13, 14, 14, 10, 11, 13, 12, 13, 10, 19, 18, 17, 10099, 10099, 10098) outlier_tf1 = outlier(x1,logical=TRUE) find_outlier1 = which(outlier_tf1==TRUE, arr.ind=TRUE) beh_input_ro1 = x1[-find_outlier1] It removes the outliers which are extrme and not all. In this example it removes only 10099, 10099 and not 10098. Thanks for the help in advance. -Ajit -- View this message in context: http://r.789695.n4.nabble.com/How-to-remove-multiple-outliers-tp3921689p3921689.html Sent from the R help mailing list archive at Nabble.com.