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.


gallegoj/tfarima documentation built on March 31, 2024, 10:32 a.m.