As usual, try reading the Help files!
?panel.lmline
-- Bert
On Sun, Oct 16, 2011 at 6:50 AM, Weidong Gu wrote:
> If you want to draw the global regression line in each panel, you can try
>
> xyplot(T~A|speaker,data=spk0,layout=c(4,5),type='p',groups=fns),
> panel=function(x,y,...){
> panel.xy
If you want to draw the global regression line in each panel, you can try
xyplot(T~A|speaker,data=spk0,layout=c(4,5),type='p',groups=fns),
panel=function(x,y,...){
panel.xyplot(x,y,...)
panel.abline(lm(y~x,data=spk0))})
Weidong Gu
2011/10/16 ์กฐํ์ :
> I'd like to draw a lattice plot with groups.
2 matches
Mail list logo