Skip to content
Back to formatted view

Raw Message

Message-ID: <f8e6ff050809180557y5907a34ft551c18e27134252c@mail.gmail.com>
Date: 2008-09-18T12:57:25Z
From: Hadley Wickham
Subject: ggplot2 - deprecated guide= argument in
In-Reply-To: <19547030.post@talk.nabble.com>

> As for now, I have not yet delved deep enough into the new version to be
> sure if I like it or not. It's just that I like the freedom to choose, and
> the previous form was great. Any chance you may put it back as an optional
> parameter?

I doubt it, but you can override the defaults as follows:

qplot(factor(cyl), mpg, data=mtcars, colour=factor(vs), geom="boxplot")
GeomBoxplot$guide_geom <- function(.) "point"
qplot(factor(cyl), mpg, data=mtcars, colour=factor(vs), geom="boxplot")

Hadley

-- 
http://had.co.nz/