Here's two quick thoughts:
qplot(1, mpg, data=mtcars, geom="boxplot") + facet_grid(. ~ cyl, margins =T)
qplot(factor(cyl), mpg, data=mtcars, geom="boxplot") +
geom_boxplot(aes(x = "all"), width = 0.9)
Hadley
On Tue, Oct 21, 2008 at 12:41 PM, SalishSea <[EMAIL PROTECTED]> wrote:
>
> I'd like to g
I'd like to generate a boxplot that has BOTH the overall distribution of a
continuous variable (say age), and then a boxplot for each level of a
stratifying variable (e.g. site). Does anyone have prototype code for this?
Thanks,
--
View this message in context:
http://www.nabble.com/GGPLOT-QP
2 matches
Mail list logo