Skip to content
Prev 60120 / 398502 Next

adding regression curve to xyplot

On Tue, 30 Nov 2004, Carlisle Thacker wrote:

            
You fitted the model lm(x ~ y) and supplied new values for t, not y.

Using panel.abline would be a bit easier: just call panel.abline(thislm) 
from your panel function.