rollingRate {covid19.analytics}R 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


[Package covid19.analytics version 2.1.3.3 Index]