ggplot2: "varwidth"-equivalent for geom_boxplot?
Hello, I'd like to resurrect this issue: is the "varwidth" equivalent (boxplot box-width scaling according to number of data points) emulatable in the 0.9.* versions of ggplot2? Width still doesn't seem capable of accepting a vector with length > 1 ... Thank you for your input. Sincerely, Joh
On Thursday, March 11, 2010 10:07:17 PM UTC+3, hadley wickham wrote:
No this currently isn't possible - it would require changes to stat_boxplot to work. Hadley On Wed, Mar 10, 2010 at 9:12 AM, Johannes Graumann <johannes... at web.de <javascript:>> wrote:
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... at web.de <javascript:>> wrote:
Hi, Is there such a thing? If no: is it easily simulated? thanks, Joh
______________________________________________ R-h... at r-project.org <javascript:> 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.
-- Assistant Professor / Dobelman Family Junior Chair Department of Statistics / Rice University http://had.co.nz/
______________________________________________ R-h... at r-project.org <javascript:> 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.