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
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
2 matches
Mail list logo