calculate_cum-method: Methods for Function 'calculate_cum'

calculate_cum-methodsR Documentation

Methods for Function calculate_cum

Description

Methods for function calculate_cum

Methods

signature( object = "infpan", col_name = NULL, overwrite = FALSE, verbose = FALSE)

Calculates the cumulative values of the infections panel data for all time points for each region. If col_name is NULL, the column is defined as "<Column name of cases>_cum". The method uses the function cumsum from the base package (see the corresponding documentation).

Note

See the Indicators of infections over time page in the swash methodological handbook for details.

Author(s)

Thomas Wieland


swash documentation built on Nov. 28, 2026, 5:14 p.m.