search for: whichlon100

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

2004 Nov 30
4
adding regression curve to xyplot
Dear R-listers, It seems that predict() behaves differently within panel.xyplot. Am I doing something stupid? Thanks, Carlisle First, without xyplot(): > lmtest <- lm(t~s,data=subset(P100,whichLon100==1 & whichLat100==1)) > lmtest Call: lm(formula = s ~ t, data = subset(P100, whichLon100 == 1 & whichLat100 == 1)) Coefficients: (Intercept) t 33.3307 0.1393 > range(P100$t) [1] 4.050469 24.514543 >> predict(lmtest,newdata=data.frame(t=range(P100$t)))...