eval_survival | R Documentation |
Access a distribution's survival function.
eval_survival(distribution, at)
enframe_survival(..., at, arg_name = ".arg", fn_prefix = "survival", 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 survival function
in vector form (for eval_
) and data frame
or tibble form (for enframe_
).
Other distributional representations:
eval_cdf()
,
eval_chf()
,
eval_density()
,
eval_hazard()
,
eval_odds()
,
eval_pmf()
,
eval_quantile()
,
eval_return()
d <- dst_unif(0, 4)
eval_survival(d, at = 0:4)
enframe_survival(d, at = 0:4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.