eval_chf | R Documentation |
Access a distribution's cumulative hazard function (chf).
eval_chf(distribution, at)
enframe_chf(..., at, arg_name = ".arg", fn_prefix = "chf", sep = "_")
distribution , ... |
A distribution, or possibly multiple
distributions in the case of |
at |
Vector of values to evaluate the cdf at. Must be named when using
in |
arg_name |
For |
fn_prefix |
For |
sep |
When |
The evaluated cumulative hazard
in vector form (for eval_
) and data frame
or tibble form (for enframe_
).
Other distributional representations:
eval_cdf()
,
eval_density()
,
eval_hazard()
,
eval_odds()
,
eval_pmf()
,
eval_quantile()
,
eval_return()
,
eval_survival()
d <- dst_unif(0, 4)
eval_chf(d, at = 0:4)
enframe_chf(d, at = 0:4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.