search for: spk0

Displaying 1 result from an estimated 1 matches for "spk0".

Did you mean: sp0
2011 Oct 16
1
grouped lattice plot with overall regression line
...ded. Could any expert help with this? I'd appreciate it greatly. The closest I could find was something like the following, which didn't work for me - anyways, it is supposed to draw by-group regression lines as well as the global one. So this is not exactly I need. xyplot(T~A|speaker,data=spk0,layout=c(4,5),type='p',groups=fns), panel=function(x,y){ panel.superpose(x,y) panel.abline(lm(y~x))}), panel.groups=function(x,y,lty){ panel.xyplot(x,y,lty=lty) panel.abline(lm(y~x),lty=3)}) Thanks so much !!! [[alternative HTML version deleted]]