[R] Difficulty with 'loess' function

nblarson nblarson at gmail.com
Fri Mar 18 19:58:53 CET 2011


Flip date and q in your formula, you've got them backwards from what you've
said you're trying to model.


armstrwa wrote:
> 
> 
> Yeah, I did look at the help(loess) page, but I wasn't really sure what to
> do with that.  I was inputting it as:
> 
>> test<-loess(date ~ q,data.frame(date,q),span=0.5)
> 
> So I guess I'm inputting the formula wrong then?  But from looking at the
> help(formula) page, I still wasn't sure what it's looking for.
> 
> Thanks.
> 
> Billy
> 


--
View this message in context: http://r.789695.n4.nabble.com/Difficulty-with-loess-function-tp3387537p3388108.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list