Re: [R] Adding per-panel text to panel strips in lattice xyplot

2006-10-17 Thread Deepayan Sarkar
On 10/13/06, Frank E Harrell Jr [EMAIL PROTECTED] wrote: I would like to add auxiliary information to the bottom of two strips on each panel that comes from a table look-up using the values of two variables that define the panel. For example I might panel on sex and race, showing 3 randomly

Re: [R] Adding per-panel text to panel strips in lattice xyplot

2006-10-17 Thread Frank E Harrell Jr
Deepayan Sarkar wrote: On 10/13/06, Frank E Harrell Jr [EMAIL PROTECTED] wrote: I would like to add auxiliary information to the bottom of two strips on each panel that comes from a table look-up using the values of two variables that define the panel. For example I might panel on sex and

Re: [R] Adding per-panel text to panel strips in lattice xyplot

2006-10-17 Thread Deepayan Sarkar
On 10/17/06, Frank E Harrell Jr [EMAIL PROTECTED] wrote: Deepayan Sarkar wrote: On 10/13/06, Frank E Harrell Jr [EMAIL PROTECTED] wrote: I would like to add auxiliary information to the bottom of two strips on each panel that comes from a table look-up using the values of two variables

Re: [R] Adding per-panel text to panel strips in lattice xyplot

2006-10-17 Thread Richard M. Heiberger
This looks like an application for bottom.strips and right.strips, in addition to the current left.strips and strips, in each panel. The new feature is that these new strips might be associated with different information than the regular strips that reflect the levels of the conditioning

[R] Adding per-panel text to panel strips in lattice xyplot

2006-10-13 Thread Frank E Harrell Jr
I would like to add auxiliary information to the bottom of two strips on each panel that comes from a table look-up using the values of two variables that define the panel. For example I might panel on sex and race, showing 3 randomly chosen time series in each panel and want to add (n=100)

Re: [R] Adding per-panel text to panel strips in lattice xyplot

2006-10-13 Thread Richard M. Heiberger
Take a look at the xysplom function in package HH. You can use it as a model for what you want. tmp - data.frame(x=rnorm(24), y=rnorm(24), a=factor(rep(letters[1:2],12)), b=factor(rep(LETTERS[1:3], c(8,8,8 xysplom(y ~ x | a*b, data=tmp,