Calculates the quantile-based upper credible limit.
upper(x, conf_level = 0.95, na_rm = FALSE)
A numeric vector of MCMC values.
A numeric scalar between 0 and 1 specifying the confidence level.
A flag specifying whether to remove missing values.
A number.
By default it returns the 95% credible limit which corresponds to the 97.5% quantile.
upper(as.numeric(0:100))
#> [1] 97.5