mrollingRates {covid19.analytics} | R 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 |
[Package covid19.analytics version 2.1.3.3 Index]