Learn R Programming

Achilles (version 1.7.2)

sumAcrossYears: For a monhtly time series, compute sum and proportion by month across all years

Description

For a monhtly time series, compute sum and proportion by month across all years

Usage

sumAcrossYears(tsData)

Value

A data frame reporting the monthly sum across all years and the proportion this sum contributes to the total.

Arguments

tsData

A time series object