Hi,

Now i am dealing with longitudinal data set and I want to see the rough
marginal plot for 2 variables separately.
I found the code from one example here,

reading <-
read.table("http://www.ats.ucla.edu/stat/R/examples/alda/data/reading_pp.txt";,
header=T, sep=",")
reading[reading$id %in% c(4, 27, 31, 33, 41, 49, 69, 77, 87), ]

xyplot(piat~age | id
, data=reading[reading$id %in% c(4, 27, 31, 33, 41, 49, 69, 77, 87),
],panel=function(x,y,*subscripts*){
        panel.xyplot(x, y, pch=16)
           panel.lmline(x,y, lty=4)
      panel.xyplot(reading$agegrp*[subscripts]*, y, pch=3)
      panel.lmline(reading$agegrp*[subscripts]*,y) 
}
, ylim=c(0, 80), as.table=T, *subscripts*=T)

I just don't know what the subscripts for and the meaning of that.
Can someone kindly let me know how it works.

Thanks





--
View this message in context: 
http://r.789695.n4.nabble.com/the-meaning-of-subscripts-tp4634784.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to