Get a table of quantile interval widths that can be computed from a given set of absolute quantile levels.
Source:R/hubverse_quantiles_to_median_qi.R
get_available_qi_widths.Rd
These intervals are also called "equal-tailed intervals". A quantile
interval can be computed whenver both the x
quantile and the
1 - x
quantile are present, yielding an interval of width
abs(1 - 2 * x)
.
Arguments
- quantile_levels
Vector of quantile levels from which to get available quantile intervals.
- quantile_tol
Round quantile level values to this many decimal places, to avoid problems with floating point number equality comparisons. Passed as the
digits
argument tobase::round()
. Default 10.