Learn R Programming

EpiNow2 (version 1.3.4)

trunc_opts: Truncation Distribution Options

Description

[Stable] Returns a truncation distribution formatted for usage by downstream functions. See estimate_truncation() for an approach to estimate these distributions.

Usage

trunc_opts(dist = list())

Value

A list summarising the input truncation distribution.

Arguments

dist

Parameters of a distribution as supported by dist_spec().

Author

Sam Abbott

Sebastian Funk

See Also

convert_to_logmean convert_to_logsd bootstrapped_dist_fit dist_spec

Examples

Run this code
# no truncation
trunc_opts()

# truncation dist
trunc_opts(dist = list(mean = 3, sd = 2))

Run the code above in your browser using DataLab