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.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to