Displaying 1 result from an estimated 1 matches for "rainca1".
Did you mean:
raina
2012 May 10
0
Time series and stl in R: Error only univariate series are allowed
...H21 H22 H23
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 1 1 1 1 1 2 2 2 4 5 5 4
7 1 1 0 0 10 13 5 1 1 3
Using the variable dat1, I input it as an argument to get a time series
data:
> rainCA1 <- ts(dat1, start = c(1900+as.POSIXlt(CA1[1,5])$year,
1+as.POSIXlt(CA1[1,5])$mon),
frequency = 24)
A few things to note:
>dim(CA1)
[1] 5636 31
>length(dat1)
[1] 135264
Thus 5636*24 (total data points [24] per row) = 135264 total points.
The length(rainCA1) agree...