Displaying 1 result from an estimated 1 matches for "absec".
Did you mean:
abec
2012 Mar 04
1
Changing the frequency of time series
I know how to do this when creating the time series variable in one expression, e.g.
valuesTS1<-ts(values,start=2000); # Frequency naturally defaults to 1
How can I specify the frequency of a time series?
> values=c(12,34,65,12);
> values<-ts(values);
> frequency(values);
[1] 1
> start(values)
[1] 1 1
> frequency(values)<-12;
Error in frequency(values) <- 12 : could