mrollingRates {covid19.analytics} | R Documentation |
function to compute a rolling fn (rate) of multiple quantities from TS data, eg. fatality and recovery rate
mrollingRates(data = NULL, geo.loc = NULL, fn = mean, period)
data |
time series dataset to consider |
geo.loc |
country/region to analyze |
fn |
function to compute rolling |
period |
length of window |