[R] ggplot2: override facet names in facet_wrap?
h.wickham at gmail.com
Wed Aug 12 04:06:06 CEST 2009
Have a look at the code and examples of label_value and label_both.
They should suggest how to write your own labeller to do what you
On Tue, Aug 11, 2009 at 1:44 PM, Ben Bolker<bolker at ufl.edu> wrote:
> just a quick question (to which I suspect the answer is "no"):
> does anyone know if, in the ggplot2 package, there's a way to
> override the default names of the facets in facet_wrap (which
> correspond to the levels of the factor used to facet)? I know
> that I go back and change the levels of the factor, but it would
> be convenient to be able to supply a vector of level names at
> the time of plotting ...
> Ben Bolker
> R-help at r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help