Re: [R] ggplot2 geom_boxplot limits

2015-07-20 Thread Thierry Onkelinx
Here is the answer: http://rpubs.com/INBOstats/zoom_in ir. Thierry Onkelinx Instituut voor natuur- en bosonderzoek / Research Institute for Nature and Forest team Biometrie & Kwaliteitszorg / team Biometrics & Quality Assurance Kliniekstraat 25 1070 Anderlecht Belgium To call in the statistician

Re: [R] ggplot2 geom_boxplot limits

2015-07-20 Thread Jacob Wegelin
On 2015-07-20 Mon 15:19, Thierry Onkelinx wrote: Limits in scales set values outside the limits to NA. Hence the boxplots, smoothers,... change. Use coord_cartesian() to "zoom in". Thanks. What do I do if I also want to use coord_flip(), that is, if I want the boxes to lie horizontally *and*

Re: [R] ggplot2 geom_boxplot limits

2015-07-20 Thread Thierry Onkelinx
Limits in scales set values outside the limits to NA. Hence the boxplots, smoothers,... change. Use coord_cartesian() to "zoom in". Op 20-jul.-2015 20:29 schreef "Jacob Wegelin" : > > With base graphics, one can use the "ylim" argument to zoom in on a boxplot. > > With ggplot2, using "limits" to t