[R] using facet_grid() from ggplot2 with additional text in labels

hadley wickham h.wickham at gmail.com
Mon Jan 28 14:20:33 CET 2008


> > ggopt(strip.text = function(variable, value) paste(variable, value, sep="=
> "))
>
> That's exactly what I was looking for - thanks.

One thing that I should mention is that this is likely to change at
some point in the future.  Eventually it will become:

+ facet_grid(strip.text = function(variable, value) paste(variable,
value, sep=" "))

but that's probably a few versions down the line.

Hadley


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



More information about the R-help mailing list