Re: [R] Plotting regression lines and points from lm using lattice

2008-12-17 Thread Deepayan Sarkar
On 12/17/08, Javier PB wrote: > > Dear R-users, > > Sorry if someone came out with a similar question but after one day of > searching I am giving up: > > Does anyone know how to plot the original points used in a lm model and the > set of resulting regression lines generated by the model? >

[R] Plotting regression lines and points from lm using lattice

2008-12-17 Thread Javier PB
Dear R-users, Sorry if someone came out with a similar question but after one day of searching I am giving up: Does anyone know how to plot the original points used in a lm model and the set of resulting regression lines generated by the model? This is how I do it using the "plot" and "lines" f