[R] ggplot2: "varwidth"-equivalent for geom_boxplot?

Johannes Graumann johannes_graumann at web.de
Wed Mar 10 16:12:49 CET 2010


Apologies.

from the "boxplot" documentation:
"... if varwidth is TRUE, the boxes are drawn with widths proportional to the 
square-roots of the number of observations in the groups."

I find this option often very useful.

Thanks for any insight into how to achieve this with geom_boxplot.

Joh

On Wednesday 10 March 2010 16:12:49 hadley wickham wrote:
> What is varwidth?
> 
> Hadley
> 
> On Wed, Mar 10, 2010 at 1:55 PM, Johannes Graumann
> 
> <johannes_graumann at web.de> wrote:
> > Hi,
> >
> > Is there such a thing? If no: is it easily simulated?
> >
> > thanks, Joh
> >
> > ______________________________________________
> > R-help at r-project.org mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-help
> > PLEASE do read the posting guide
> > http://www.R-project.org/posting-guide.html and provide commented,
> > minimal, self-contained, reproducible code.
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20100310/ef524c41/attachment.bin>


More information about the R-help mailing list