hpdAlong: hpdAlong

Description Usage Arguments Details

View source: R/hpdAlong.R

Description

Take the hpd interval using replicates along the along dimension.

Usage

1
  hpdAlong <- function(x, along, prob = 0.95)

Arguments

x

An n dimensional array

along

the dimension of x to use replicates along

prob

the target probability content of the intervals

Details

This function returns two n - 1 dimensional arrays that is the result of taking the HPDinterval along each of the vectors.


dcbdan/s525 documentation built on May 19, 2019, 10:48 p.m.