treat_outliers.Rd
Outliers treatment
treat_outliers(x, plot = FALSE, replace = TRUE)
a time series
a boolean; plot time series or not
a boolean; replace outliers or not? (if TRUE, creates a new time series)
x <- rnorm(100) x[5] <- 10 x[10] <- 10 x[20] <- 10 x[70] <- 10 after::treat_outliers(x, plot = TRUE)