eval_return | R Documentation |
Compute return levels (quantiles) from a distribution by inputting return periods.
eval_return(distribution, at)
enframe_return(..., at, arg_name = ".arg", fn_prefix = "return", sep = "_")
distribution , ... |
A distribution, or possibly multiple
distributions in the case of |
at |
Vector of return periods >=1. |
arg_name |
For |
fn_prefix |
For |
sep |
When |
The return levels associated with the specified return periods
in vector form (for eval_
) and data frame
or tibble form (for enframe_
). This function is simply the quantile
function evaluated at 1 - 1 / at
.
Other distributional representations:
eval_cdf()
,
eval_chf()
,
eval_density()
,
eval_hazard()
,
eval_odds()
,
eval_pmf()
,
eval_quantile()
,
eval_survival()
d <- dst_unif(0, 4)
eval_return(d, at = c(2, 25, 100, 200))
enframe_chf(d, at = c(2, 25, 100, 200))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.