> I wonderif there is a simple way to draw  a regression line in  the xyplot:

Try:

xyplot(y  ~  x| age.cut, xlab="x", ylab="y", type=c("p","r"))

Hadley

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to