Winsorizing a vector means that a predefined quantum of the smallest and/or the largest values are replaced by less extreme values. Thereby the substitute values are the most extreme retained values.
Usage
winsorize(x, thresh = c(0.05, 0.95), na.rm = FALSE)
See also
Other Outliers:
outlier_turkey()
,
outlier_zscore()
,
outlier_zscore_plot()