I am trying to get the whiskers of a ggplot2's geom_boxplot to cover the outliers. The outliers would de facto not be displayed as dots as they are encompassed by the boxplot.
If I was using the standard 'boxplot', I would be using:
boxplot(x, range=n)
where n would be a large number so that, instead of displaying the outliers, the boxplots's whiskers extend to cover the outliers.
How can this be done with ggplot2? I've tried:
ggplot(myDF, aes(x=x, y=y)) +
geom_boxplot(range = 5)
Note: I do not want to discard the outliers using something like:
geom_boxplot(outlier.shape = NA)