tssum: The 'sum' for time-series objects

Description Usage Arguments Value Author(s) See Also

View source: R/tssum.R

Description

This function is time related that helps manipulate time-series.

Usage

1
tssum(series, months = 1:12, max.na.fraction = 0.3, safe.check = FALSE)

Arguments

series

a class "ts" object

months

a vector of length 1 to 12 specifying the months to sum

max.na.fraction

fraction of NAs to admit before discarding accumulated sum over meses

safe.check

boolean specifying if some debbuging checks should be performed

Value

returns a time-series object of class "ts" of frequency length(meses) with the accumulated sum over the months defined in meses.

Author(s)

A.M. Sajo-Castelli

See Also

vetools, diffmonths, diasdelmes, m12, time2ym, ym2time, xts2ts.


vetools documentation built on May 2, 2019, 10:15 a.m.