Learn R Programming

extras (version 0.7.3)

upper: Upper Credible Limit

Description

Calculates the quantile-based upper credible limit.

Usage

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

Value

A number.

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.

See Also

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

Examples

Run this code
upper(as.numeric(0:100))

Run the code above in your browser using DataLab