[R] Varying x-axis labels in lattice

Frank E Harrell Jr f.harrell at vanderbilt.edu
Tue Aug 11 15:30:34 CEST 2009


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 
vector of x-axis labels?

Thanks
Frank
-- 
Frank E Harrell Jr   Professor and Chair           School of Medicine
                      Department of Biostatistics   Vanderbilt University




More information about the R-help mailing list