Displaying 1 result from an estimated 1 matches for "reading_pp".
2012 Jun 28
1
the meaning of subscripts
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)
p...