get_generation_time: Get a Literature Distribution for the Generation Time

get_generation_timeR Documentation

Get a Literature Distribution for the Generation Time

Description

[Stable] Extracts a literature distribution from generation_times.

Usage

get_generation_time(disease, source, max_value = 15, fixed = FALSE)

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.

fixed

Logical, defaults to FALSE. Should distributions be supplied as fixed values (vs with uncertainty)?

Value

A list defining a distribution

Author(s)

Sam Abbott

Examples

get_generation_time(disease = "SARS-CoV-2", source = "ganyani")

EpiNow2 documentation built on Sept. 26, 2023, 5:11 p.m.