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.


adbecker/tsiR documentation built on Oct. 1, 2019, 5:32 p.m.