Park, Kyong H Mr ECBC
2008-Mar-18 11:52 UTC
[R] How to change symbols in a trellis graph (UNCLASSIFIED)
Classification: UNCLASSIFIED Caveats: NONE Hello, R Users, I created a trellis graph following methods suggest in "Mixed-Effects Models in S and S-Plus" by Bates and Pinheiro using 'groupedData' and 'outer' commands as follows: 1. data2<-groupedData(LCU~ST1|Blcok, data=data1) 2. plot(data2, outer=~SURF). This produced exactly what I wanted except that the symbol. I want four different symbols for the four levels of ST1 instead of just one circle, and how I do this if I want to use four symbol numbers c(1,2,5,6). The data are given below. Appreciate your help. Kyong LCU ST1 SURF Block> 1 6.71 A N 1 > 2 6.97 A Y 1 > 3 6.77 B N 1 > 4 6.90 B Y 1 > 5 6.63 C N 1 > 6 6.94 C Y 1 > 7 6.79 D N 1 > 8 6.93 D Y 1 > 9 6.23 A N 2 > 10 6.83 A Y 2 > 11 6.61 B N 2 > 12 6.86 B Y 2 > 13 6.51 C N 2 > 14 6.90 C Y 2 > 15 5.90 D N 2 > 16 6.97 D Y 2Classification: UNCLASSIFIED Caveats: NONE [[alternative HTML version deleted]]