Learn R Programming

EpiNow2 (version 1.3.2)

trunc_opts: Truncation Distribution Options

Description

Returns a truncation distribution formatted for usage by downstream functions. See estimate_truncation for an approach to estimate this distribution.

Usage

trunc_opts(dist = NULL)

Arguments

dist

A list defining the truncation distribution, defaults to NULL in which case no truncation is used. Must have the following elements if defined: "mean", "mean_sd", "sd_mean", "sd_sd", and "max" defining a truncated log normal (with all parameters except for max defined in logged form).

Value

A list summarising the input truncation distribution.

See Also

convert_to_logmean convert_to_logsd bootstrapped_dist_fit

Examples

Run this code
# NOT RUN {
# no truncation
trunc_opts()
# }

Run the code above in your browser using DataLab