I don't know if it is possible in R but I would like to set up my own boxplot with specific whiskers and box limits.
The normal boxplots show the min value, 1st quartile, 3rd quartile and max value (plus outliers, if any). I would like to substitute the 1st quartile to 5% (5th percentile) and 3rd quartile to 95% (95th percentile) by keeping the whiskers extremes as min and max values. So, the box should now contains the 90% of my data (90 percentiles).
Is there any way to do it?
I know about the existence of the function range
in boxplot
but I don't think this is what I am looking for.