Skip to contents

[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 = dist_spec())

Arguments

dist

A delay distribution or series of delay distributions reflecting the truncation generated using dist_spec() or estimate_truncation(). Default is an empty call to dist_spec(), i.e. no truncation

Value

A list summarising the input truncation distribution.

See also

convert_to_logmean convert_to_logsd bootstrapped_dist_fit dist_spec

Author

Sam Abbott

Sebastian Funk

Examples

# no truncation
trunc_opts()
#> 
#> Empty `dist_spec` distribution.

# truncation dist
trunc_opts(dist = dist_spec(mean = 3, sd = 2, max = 10))
#> 
#>   Fixed distribution with PMF [0.18 0.16 0.13 0.11 0.092 0.081 0.072 0.065 0.059 0.054]
#>