Re: [R] locfit questions/problems

2010-01-25 Thread Liaw, Andy
Just replacing preplot() with predict() should be fine. BTW, it's always a good idea to specify the version of the package you're using as well. Best, Andy From: mh...@berkeley.edu > > Hi, > > I'm trying to work through the examples and code in Loader's > LOCAL REGRESSION AND LIKELIHOOD, and

[R] locfit questions/problems

2010-01-24 Thread mhall
Hi, I'm trying to work through the examples and code in Loader's LOCAL REGRESSION AND LIKELIHOOD, and have run into a problem with the code for one sided smoothing and change point analysis (p. 110-112). The code, after loading locfit: midp<-(1945:1988)+0.5 fitl<-locfit(thickness~left(year), dat