Skip to content
Prev 60119 / 398502 Next

adding regression curve to xyplot

Inside the panel, you have to only use the parts of x and y for each unique
combination of factor(lonLabels[whichLon100])*factor(latLabels[whichLat100])



So use   "thislm <- lm(x[subscripts]~y[subscripts])" in the panel function.


Matt Austin
Statistician

Amgen 
One Amgen Center Drive
M/S 24-2-C
Thousand Oaks CA 93021
(805) 447 - 7431
http://www.R-project.org/posting-guide.html