[R] ggplot2: override facet names in facet_wrap?

Ben Bolker bolker at ufl.edu
Tue Aug 11 20:44:23 CEST 2009

  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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20090811/7186789c/attachment-0002.bin>

More information about the R-help mailing list