Hi David,

> facet_wrap and facet_grid function are both very usefull. But they are
> perhaps a bit redundant.

I disagree ;)  Conceptually they are rather different: facet_wrap is
essentially a 1d layout, while facet_grid is a 2d layout.  This has
implications for how you specify the faceting, how the facets are
labelled, and how the scales can vary.  While I could probably force
both into a single function, this is rather against the philosophy of
ggplot2, which strives towards small objects which only do one thing.
This tends to make things a little more verbose, but I think it makes
things easier to understand.

Hadley

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

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to