Re: [R] How does predict.loess work?

2012-04-05 Thread Greg Snow
Run the examples for the "loess.demo" function in the TeachingDemos package to get a better understanding of what goes into the loess predictions. On Tue, Apr 3, 2012 at 2:12 PM, Recher She wrote: > Dear R community, > > I am trying to understand how the predict function, specifically, the > pred

Re: [R] How does predict.loess work?

2012-04-03 Thread David Winsemius
On Apr 3, 2012, at 4:12 PM, Recher She wrote: Dear R community, I am trying to understand how the predict function, specifically, the predict.loess function works. I understand that the loess function calculates regression parameters at each data point in 'data'. lo <- loess ( y~x, data)

[R] How does predict.loess work?

2012-04-03 Thread Recher She
Dear R community, I am trying to understand how the predict function, specifically, the predict.loess function works. I understand that the loess function calculates regression parameters at each data point in 'data'. lo <- loess ( y~x, data) p <- predict (lo, newdata) I understand that the pr