Re: [R] ggplot2: override facet names in facet_wrap?

2009-08-12 Thread hadley wickham
That's on the to do list :( Hadley On Tue, Aug 11, 2009 at 10:00 PM, Ben Bolkerbol...@ufl.edu wrote:  Thanks.  I can get it to work for facet_grid (which will do for my current purposes) but am curious about whether there's a way to do the same for facet_wrap (which doesn't have a labeller

[R] ggplot2: override facet names in facet_wrap?

2009-08-11 Thread Ben Bolker
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

Re: [R] ggplot2: override facet names in facet_wrap?

2009-08-11 Thread hadley wickham
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 want. Hadey On Tue, Aug 11, 2009 at 1:44 PM, Ben Bolkerbol...@ufl.edu wrote:  just a quick question (to which I suspect the answer is no): does anyone know if,

Re: [R] ggplot2: override facet names in facet_wrap?

2009-08-11 Thread Ben Bolker
Thanks. I can get it to work for facet_grid (which will do for my current purposes) but am curious about whether there's a way to do the same for facet_wrap (which doesn't have a labeller argument)? cheers Ben hadley wrote: Have a look at the code and examples of label_value and