Dear R gurus..

Is it possible to control span settings for different values of a grouping
variable, when using xyplot? an example code shown below
d=data.frame(x=rep(sample(1:5,rep=F),10),y=rnorm(50),z=rep(sample(LETTERS[1:2],rep=F),25))
xyplot(y~x,data=d,groups=z,panel=panel.superpose,panel.groups=panel.loess(span=c(2/3,
3/4,1/2))
or something like..
xyplot(y~x,data=d,groups=z,panel=function(...)
{panel.superpose(...);panel.groups=panel.loess(span=3/4,...)})

Thanks,
Santosh

	[[alternative HTML version deleted]]

