## an example to visualize individual reproduction number is as follows.
plot(seq(0.01,9.99, length.out = 1001), d_reproductiondistn(
x = seq(0,10, length.out = 1001),
epi.para = list(mean = 2, disp = 1.5, shift = 0.5),
offspring.type = "D",
is.log = FALSE
), type = 'l', xlab = 'individual reproduction number', ylab = 'density')
Run the code above in your browser using DataLab