[R] lattice question: independent per-row or per-column scaling?
hadley wickham
h.wickham at gmail.com
Mon Jan 19 14:51:12 CET 2009
On Thu, Jan 8, 2009 at 11:25 AM, René J.V. Bertin <rjvbertin at gmail.com> wrote:
> Hello - and happy newyear to all of you!
>
> I've got some data that I'm plotting with bwplot, a 3x2x3 design where
> the observable decreases with the principle independent factor, but at
> different rates.
>
> I'd like to get lattice to impose not a single set of axes ranges
> identical for all panels, but ranges that are identical for each panel
> row or each column. Effects will stand out much better like that.
>
> I've looked through the documentation of the latest lattice version,
> but I don't see a way to achieve this with a simple argument passed to
> bwplot. Can it be done otherwise and if so, how?
It's not lattice, but you can do this with ggplot2 - see the examples
for http://had.co.nz/ggplot2/facet_grid.html
Regards,
Hadley
--
http://had.co.nz/
More information about the R-help
mailing list