Skip to content
Prev 8197 / 398503 Next

boxplot grouped by two variables: general issue

I'd rather prefer to have something like

  coplot(breaks | wool * tension, data = warpbreaks, panel=function(x, y,
...)boxplot(x))

but there are three problems:

1) coplot doesn't seem to support univariate panel functions
2) coplot doesn't seem to support synchronization options for xlim= and
ylim= across panels
3) plot functions appear to be EITHER panel functions OR high level plot
functions. Needing two versions for each plot function is a little bit
complicated. Rather have ONLY panel functions and a one-panel high level
wrapper.

Here are my questions:

a) Any plans to implement trellis?
b) Are there any other solutions in R which offer simple trellis
functionality?
c) Do you think, attacking these problems leads to reinventing trellis with
all it's complexity?

If the answers turn out to be c(a=NO,b=NO,c=NO) I would like  to ask in more
detail:

Is it possible to write plot functions to properly behave as high level AND
as panel functions?
Are there any issues that NEED to be addressed beyond 1) to 3) ?
Any recommendations? Any related work in progress? Any volunteers?

If nobody else is attacking this, I will think about a solution (r-devel:
AFTER the strwidth() issue has been resolved)


Jens


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._