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 hadley wickham <h.wickham <at> gmail.com> writes:
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_graumann <at> web.de> 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