tsiRdata: tsiRdata

Description Usage Arguments

View source: R/tsiRdata_function.R

Description

A function to take in time cases births and pop vectors (of any lengths) and interpolate them using the given infectious period.

Usage

1
tsiRdata(time, cases, births, pop, IP = 2)

Arguments

time

The time vector.

cases

The cases vector.

births

The births vector.

pop

The population vector.

IP

The infectious period (in weeks) to discretize to. Defaults to 2.


tsiR documentation built on Jan. 21, 2021, 1:06 a.m.