View source: R/helper_functions.R
If 'value_list' is a vector, the function creates a data frame (tibble) with two columns ("probability" and "quantile_value") and one row. If 'value_list' is a named list, the function creates a data frame with three columns ("group_var", "probability", and "quantile_value"), and one row per list-element
1 | list_to_quantiles(value_list, probs = c(0.01, 0.98))
|
value_list |
numeric vector or named list to calculate quantiles. |
probs |
As specified in 'quantile' |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.