A log-normal prior on the daily seeded infections of each group: their log is normal with mean meanlog and standard deviation sdlog. Both may have one value per group, in the alphabetical order of the groups, so that seeds can be centred on each group's early counts. A call to this function can be passed as the prior_seeds argument in epiinf.

lognormal(meanlog = 0, sdlog = 1)

Arguments

meanlog, sdlog

Mean and standard deviation of the log of the seeds.

Value

A named list to be parsed internally by epim.

Examples

inf <- epiinf(gen = c(0.3, 0.4, 0.3), prior_seeds = lognormal(log(20), 1))