rollingRate: function to compute a rolling fn of a TS data

View source: R/covid19_rollingEstimates.R

rollingRateR Documentation

function to compute a rolling fn of a TS data

Description

function to compute a rolling fn of a TS data

Usage

rollingRate(data, fn = mean, period = NULL)

Arguments

data

TS data

fn

function to compute rolling

period

length of window

Value

a vector with rolling values


covid19.analytics documentation built on Oct. 16, 2023, 1:06 a.m.