S: Annual sum

View source: R/utils.R

SR Documentation

Annual sum

Description

S generates the annual sum of a monthly or quarterly time series.

Usage

S(x, extend = TRUE)

Arguments

x

an ts object.

extend

logical. If TRUE, the transformed series is extended with NA's to have the same length as the origianl series.

Value

The transformed time series, a ts object.


tfarima documentation built on May 20, 2022, 5:06 p.m.