On Fri, 27 Jun 2003, Yao, Minghua wrote:
> Thank you, Prof. Ripley. By adding na.action=na.exclude to loess function,
> the program runs great.
>
> I did omit some trivial things. But I still think it was NA's that caused
> troubles in predict or loess.
*NO* the errors message is from your usag
Sent: Friday, June 27, 2003 11:05 AM
To: Yao, Minghua
Cc: R Help (E-mail)
Subject: Re: [R] NA points in loess function
On Fri, 27 Jun 2003, Yao, Minghua wrote:
> Gurus,
>
> I used
> predict(loess(Y~X));
>
> where Y and X are of the same length. But there are same NA
On Fri, 27 Jun 2003, Yao, Minghua wrote:
> Gurus,
>
> I used
> predict(loess(Y~X));
>
> where Y and X are of the same length. But there are same NA's in both Y and
> X. Those NA's are in the same locations in Y and X. The following is the
> error messageI got:
>
> Error in "[<-"(*tmp*, ,