tsiRdata {tsiR} | R Documentation |
tsiRdata
Description
A function to take in time cases births and pop vectors (of any lengths) and interpolate them using the given infectious period.
Usage
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. |
[Package tsiR version 0.4.3 Index]