Re: [R] problems with loess

2005-10-07 Thread Prof Brian Ripley
On Fri, 7 Oct 2005, Dimitri Giunchi wrote: > Hi all, > I was unable to obtained a smoothed line using the loess function.I used the > following code reported in the examples of R documentation: > cars.lo <- loess(dist ~ speed, cars) > Then I tried to plot both the data and the smoothed line > plo

[R] problems with loess

2005-10-07 Thread Dimitri Giunchi
Hi all, I was unable to obtained a smoothed line using the loess function. I used the following code reported in the examples of R documentation: cars.lo <- loess(dist ~ speed, cars) Then I tried to plot both the data and the smoothed line plot(cars) lines(cars.lo) but what I obtained is simpl