r_IR: Random draw from the cyclic removal period using Brent method...

Description Usage Arguments Value Examples

View source: R/RcppExports.R

Description

r_IR Generate a random draw from the distribution specified for the latent period.

Usage

1
r_IR(n, I, a, b)

Arguments

n

The sample size

I

The time at which host become infectious, or strictly speaking the infection time.

a

The baseline or the average infectious period.

b

The amplitude of the removal period.

Value

It returns n random draws from the removal period given the time of infection for the cyclic model.

Examples

1
r_IR(10,10,0.062,0.93)

holaanna/contactsimulator documentation built on Dec. 2, 2019, 2:39 a.m.