My question is pretty simple. I would like to cut off 5% of the highest and lowest values. Here is my sample data set.
x = rnorm(100) x_sorted = sort(x, decreasing = F)
I tried to apply the trim function. But unfortunately this function just works if I want to generate trimmed means.