[R] ggplot facet: change layout of panels

Tom Boonen tom.boonen.maiden at gmail.com
Sat Aug 23 17:08:55 CEST 2008


Hi,

is there anyway to adjust how ggplot(facet=) displays the layout of
panels? I have a dataset with many 25 groups and gplot(y,x,facet=
.~group) displays all 25 y~x plots next to each other so overall the
plot is too wide. if i do the same plot in lattice xyploy(y~x|group)
the y~x plots are arranged nicely 5 in each row to overall the plots
is a nice 5 by 5 rectangular grid.

 Is there any way to adjust this in gplot?

Thank you very much.

Best,
Tom



More information about the R-help mailing list