get_dist: Get a Literature Distribution

View source: R/deprecated.R

get_distR Documentation

Get a Literature Distribution

Description

[Deprecated]

This function has been deprecated. Please specify a distribution using functions such as Gamma() or LogNormal() instead.

Usage

get_dist(data, disease, source, max_value = 14, fixed = FALSE)

Arguments

data

A ⁠<data.table>⁠ in the format of generation_times.

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 14 days.

fixed

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

Value

A list defining a distribution

See Also

dist_spec()


EpiNow2 documentation built on Oct. 31, 2024, 5:09 p.m.