Dear R users,

I am trying to ´detect´ the trend in an artificial time series created 
by the simple function

x=seq(pi,10*pi,0.1)
my.ts=0.1*x+sin(x)

my.ts=ts(my.ts,start=1800)
plot(my.ts)

I have tried stl(my.ts), but because I don´t have ´replications´ at 
every time point, this somehow doesn´t work.

How could I best detect the trend in the ts?

I would very much appreciate any help!

Thanks a lot in advance
Christoph


(using R 2.6.0 on Windows XP)

______________________________________________
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