list_to_quantiles: Uses a named list (or vector of values) to calculate the...

Description Usage Arguments

View source: R/helper_functions.R

Description

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

Usage

1
list_to_quantiles(value_list, probs = c(0.01, 0.98))

Arguments

value_list

numeric vector or named list to calculate quantiles.

probs

As specified in 'quantile'


urskalbitzer/daginR documentation built on Jan. 21, 2020, 1:26 a.m.