Skip to content
Prev 295015 / 398506 Next

Q - scatterplot, plot function & trellis linear regressions???

I presume you mean car::scatterplot

A1) plot is a generic function for plotting 'things' and scatterplot
is a specific tool provided by that library

A2) from the documentation one infers that
      1) the straight line is a regression line
      2) the other lines are produced using loess
           a) the solid line is fitted to the data
           b) the dotted lines are created by: "a smoother is applied
to the root-mean-square positive and negative residuals from the loess
line to display conditional spread and asymmetry"

A3) you forgot the data argument (at least).

Cheers,
Simon
On Sat, May 19, 2012 at 11:34 AM, Jhope <jeanwaijang at gmail.com> wrote: