actually, I want to suppress the outlier points here, and have the
whiskers the same colour
as the box. Do I need to set some options? Intuitively I thought that
would be the same
colour as the border.
Thanks
Nicholas
It's setting vs. mapping again.
qplot(Smoke,BMI,data=NHANES,facets=~Race,geom=c("jitter"),alpha=.2)
is equivalent to:
ggplot(NHANES, aes(Smoke, BMI, alpha = 0.2)) +
geom_jitter() +
facet_wrap(~ Race)
so when you add on the boxplot the alpha is inherited. What you
probably want is to _set_ the value of alpha:
qplot(Smoke,BMI,data=NHANES,facets=~Race,geom=c("jitter"),alpha=I(.2))
which is equivalent to
ggplot(NHANES, aes(Smoke, BMI)) +
geom_jitter(alpha = 0.2) +
facet_wrap(~ Race)
p + geom_boxplot(outlier.colour="white",outlier.size=.1,colour="red")
Hadley
Nicholas
On Mon, 08 Jun 2009 14:37 -0500, "hadley wickham" <h.wi...@gmail.com>
wrote:
Hadley
PS. Are you preparing for your meetup talk?