Hi:
Try
str(u.ts)
class(u.ts)
That should give you more information about the type of object being input
to stl.
I tried the following, which worked on my system:
u <- rnorm(100)
u.ts <- ts(u, start = c(2001, 1), frequency = 12)
u.stl <- stl(u.ts, 'per')
plot(u.stl)
> sessionInfo()
R version 2
Hi everyone.
I'm having some troubles with STL function to decompose some data.
My issue is that I have monthly data from September 2005 up to August 2010
i. e. 60 observations.
I define it in the following way:
*u<-read.csv("C:/CELEBREX.csv",header = TRUE)
u.ts<-ts(u, start=c(2005,9), frequenc
2 matches
Mail list logo