Learn R Programming

waspr (version 1.0.1)

hpd_est: Compute the 95 percent Highest Posterior Density interval

Description

Compute the 95 percent Highest Posterior Density interval

Usage

hpd_est(x)

Value

A vector containing the lower and upper bound of the 96

Posterior Density interval of a numeric vector as computed by the methods from Venter (1967).

Arguments

x

a numeric vector

Examples

Run this code
library(waspr)
hpd_est(pois_logistic[1,1,])

Run the code above in your browser using DataLab