when plotting a boxplot in R, we can remove/hide outliers by outlier.shape=NA
, but this does not change the limits of y-axis. so, if there is an outlier of size 1000, and the rest of the plot lies below 50, there will be a huge empty space in the plot, pushing the boxes to the lower part and make them look small.
Is there anyway to shrink the y-axis limits automatically?
Thanks