[Stable] Extracts a literature distribution from generation_times

get_generation_time(disease, source, max_value = 15)

Arguments

disease

A character string indicating the disease of interest.

source

A character string indicating the source of interest.

max_value

Numeric, the maximum value to allow. Defaults to 15 days.

Value

A list defining a distribution

Examples

get_generation_time(disease = "SARS-CoV-2", source = "ganyani")
#> $mean
#> [1] 3.635272
#> 
#> $mean_sd
#> [1] 0.7109351
#> 
#> $sd
#> [1] 3.075315
#> 
#> $sd_sd
#> [1] 0.7695178
#> 
#> $max
#> [1] 15
#>