Samples the serial interval for given incubation period samples

inf_fn(inc_samp = NULL, k = NULL)

Arguments

inc_samp

a positive numeric vector: samples from the incubation period distribution

k

a numeric scalar: skew parameter for sampling the serial interval from the incubation period

Value

a numeric vector of equal length to the vector input to inc_samp

Examples

inf_fn(inc_samp = c(1, 2, 3, 4, 1), k = 2)
#> [1] 3.956523 3.745535 4.429854 3.655161 2.492105