Re: [R] Grouped boxplots using ggplot() from ggplot2.

2018-07-29 Thread Richard M. Heiberger
## I recommend using lattice for this task. ## First I show the example from my book and package (HH). ## Then I use this on your example. library(HH) ## Package supporting Heiberger and Holland, ## Statistical Analysis and Data Display (Second edition, 2015)

Re: [R] Grouped boxplots using ggplot() from ggplot2.

2018-07-28 Thread Rolf Turner
On 29/07/18 02:54, Jeff Newmiller wrote: 1) I don't know... it looks to me like you did not run my code. Aaaarrrgghhh. I *thought* I had, but instead left "fill=Type" inside the aes() call and neglected to add fill=NULL outside this call. Du!!! It's tough being mentally challenged,

Re: [R] Grouped boxplots using ggplot() from ggplot2.

2018-07-28 Thread Jeff Newmiller
1) I don't know... it looks to me like you did not run my code. I have included a complete reprex below... try it out in a fresh session. If you still get the problem, check your sessionInfo package versions against mine. 2) This still smells like your fill parameter is inside the aes

Re: [R] Grouped boxplots using ggplot() from ggplot2.

2018-07-28 Thread Rolf Turner
On 28/07/18 17:03, Jeff Newmiller wrote: When you understand the strong dependence on how the data controls ggplot, using it gets much easier. I still have to google details sometimes though. Note that it can be very difficult to make a weird plot (e.g. multiple parallel axes) in ggplot

Re: [R] Grouped boxplots using ggplot() from ggplot2.

2018-07-27 Thread Jeff Newmiller
When you understand the strong dependence on how the data controls ggplot, using it gets much easier. I still have to google details sometimes though. Note that it can be very difficult to make a weird plot (e.g. multiple parallel axes) in ggplot because it is very internally consistent... a

[R] Grouped boxplots using ggplot() from ggplot2.

2018-07-27 Thread Rolf Turner
I have the task of producing some boxplot graphics with the requirement that these have the same general appearance as a set of such graphics as were produced last year. I do not have access to the code that was used to produce the "last year" graphics. There are multiple boxplots per figure