sumAcrossYears: For a monhtly time series, compute sum and proportion by...

View source: R/sumAcrossYears.r

sumAcrossYearsR Documentation

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)

Arguments

tsData

A time series object

Value

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


OHDSI/Achilles documentation built on Oct. 13, 2023, 7:45 a.m.