
Apply default CDF level to a <dist_spec> if it is unconstrained
Source:R/opts.R
apply_default_cdf_max.RdApply default CDF level to a <dist_spec> if it is unconstrained
Arguments
- dist
A <dist_spec>
- default_cdf_max
Numeric; default CDF level to keep the distribution up to if an unconstrained distribution is passed as
dist. Ifdistis already constrained by having a maximum or CDF level this is ignored. Note that this can only be done for <dist_spec> objects with fixed parameters. Defaults togetOption("EpiNow2.cdf_max", 0.999), so a session-wide default can be set with, e.g.,options(EpiNow2.cdf_max = 0.995).- cdf_max_set
Logical; whether the default CDF level has been set by the user; if yes and
distis constrained a warning is issued