
Check if a function is a valid cumulative distribution function (CDF)
Source:R/check.R
check_pdist.Rd
This function tests whether a given function behaves like a valid CDF by checking if it's monotonically increasing and bounded between 0 and 1.
Arguments
- pdist
Distribution function (CDF). The package can identify base R distributions for potential analytical solutions. For non-base R functions, users can apply
add_name_attribute()
to yield properly tagged functions if they wish to leverage the analytical solutions.- D
Maximum delay (truncation point). If finite, the distribution is truncated at D. If set to Inf, no truncation is applied. Defaults to Inf.
- ...
Additional arguments to be passed to pdist
See also
Distribution checking functions
check_dprimary()
,
check_truncation()