upper {extras}R Documentation

Upper Credible Limit

Description

Calculates the quantile-based upper credible limit.

Usage

upper(x, conf_level = 0.95, na_rm = FALSE)

Arguments

x

A numeric vector of MCMC values.

conf_level

A numeric scalar between 0 and 1 specifying the confidence level.

na_rm

A flag specifying whether to remove missing values.

Details

By default it returns the 95% credible limit which corresponds to the 97.5% quantile.

Value

A number.

See Also

Other summary: kurtosis(), lower(), pvalue(), pzeros(), skewness(), svalue(), variance(), xtr_mean(), xtr_median(), xtr_sd(), zeros(), zscore()

Examples

upper(as.numeric(0:100))

[Package extras version 0.6.1 Index]