[R] Help in Lattice!
    Haoda Fu 
    fuhds at yahoo.com.cn
       
    Sat Dec 20 01:07:56 CET 2008
    
    
  
Hi -
How can I add different notes in different panels?
My data looks like
     ID Dose  Visit  Value
1    1    0   0.5 -6.5802e-02
2    1    0   1.0  2.4085e-01
3    1    0   1.5 -2.2907e-01
4    1    0   2.0  2.4074e-01
...   ...  ...  ...  ...
270 45   30   3.0 -8.1316e-01
271 46   30   0.5 -2.0786e-01
272 46   30   1.0 -2.9336e-01
273 46   30   1.5 -5.5657e-01
274 46   30   2.0 -2.1659e-01
I use 
xyplot(Value ~ Visit | factor(ID), data = dataM, typ = 'o',layout = c(3,3),as.table=TRUE);
to plot each patient longitudinal observations.
How can I add dose information to each panel? e.g., adding "Dose = 30"
Best,
Haoda
    
    
More information about the R-help
mailing list