mrollingRates: function to compute a rolling fn (rate) of multiple...

View source: R/covid19_rollingEstimates.R

mrollingRatesR Documentation

function to compute a rolling fn (rate) of multiple quantities from TS data, eg. fatality and recovery rate

Description

function to compute a rolling fn (rate) of multiple quantities from TS data, eg. fatality and recovery rate

Usage

mrollingRates(data = NULL, geo.loc = NULL, fn = mean, period)

Arguments

data

time series dataset to consider

geo.loc

country/region to analyze

fn

function to compute rolling

period

length of window


covid19.analytics documentation built on Aug. 18, 2022, 9:06 a.m.