Re: [R] Varying x-axis labels in lattice

2009-08-12 Thread Frank E Harrell Jr
Thanks very much Deepayan and Duncan. Both of your suggestions are very helpful and should do what I need. Frank Deepayan Sarkar wrote: On Tue, Aug 11, 2009 at 6:30 AM, Frank E Harrell Jr wrote: Dear Group: I want to use lattice with a formula such as y ~ x | v to plot a data frame in whic

Re: [R] Varying x-axis labels in lattice

2009-08-11 Thread Deepayan Sarkar
On Tue, Aug 11, 2009 at 6:30 AM, Frank E Harrell Jr wrote: > Dear Group: > > I want to use lattice with a formula such as y ~ x | v to plot a data frame > in which v varies to indicate which "x" is really being plotted. I know how > to make the x-axis scales vary with the panel but is it possible t

Re: [R] Varying x-axis labels in lattice

2009-08-11 Thread Duncan Mackay
Hi Frank May I suggest 1. ?strip.custom and get into strip.default for options 2. use the features of strip and modify to suit your requirements http://finzi.psych.upenn.edu/R/Rhelp02/archive/104004.html http://finzi.psych.upenn.edu/R/Rhelp02/archive/100977.html Regards Duncan Mackay Depart

[R] Varying x-axis labels in lattice

2009-08-11 Thread Frank E Harrell Jr
Dear Group: I want to use lattice with a formula such as y ~ x | v to plot a data frame in which v varies to indicate which "x" is really being plotted. I know how to make the x-axis scales vary with the panel but is it possible to let the x-axis label vary, i.e., to let the user specify a ve