powered by
Function for removing outliers.
rmvoutlier(x, coef = 2.5)
Location of outliers in the vector
A vector of a variale
A number of the times of standard deviation. The default value is 2.5.
data("obs") obs$Cr_ppm <- log(obs$Cr_ppm) krm <- rmvoutlier(obs$Cr_ppm) krm
Run the code above in your browser using DataLab