powered by
S generates the annual sum of a monthly or quarterly time series.
S
S(x, extend = TRUE)
an ts object.
ts
logical. If TRUE, the transformed series is extended with NA's to have the same length as the origianl series.
The transformed time series, a ts object.