Benjamin Tyner
2006-Jan-27 00:13 UTC
[R] xyplot: making strip function aware of panel.number
In xyplot(), I'd like to supress the printing of the strip on certain panels. I thought I'd do this inside the strip function, but it seems that panel.number doesn't get passed to that. Any ideas? Thanks, Ben
Deepayan Sarkar
2006-Jan-27 00:34 UTC
[R] xyplot: making strip function aware of panel.number
On 1/26/06, Benjamin Tyner <btyner at gmail.com> wrote:> In xyplot(), I'd like to supress the printing of the strip on certain > panels. I thought I'd do this inside the strip function, but it seems > that panel.number doesn't get passed to that. Any ideas?Well, strip has access to much more detailed conditioning information (which.given, which.panel), why are they not enough? The panel.number feature exists for exactly the opposite reason, namely that panel functions traditionally didn't have the information on conditioning variables that the strip function has. Deepayan
Maybe Matching Threads
- custom strip in lattice ignoring plotmath expressions for all but style = 1 (PR#8733)
- positioning of separate y-axis labels in xyplot
- tick.number for date in xyplot
- finer control of scales in xyplot
- lattice: two grouping variables, one controls 'col', the other 'pch'