Calculate confidence region from an MCMC or similar sample

getCredibleIntervals(sampleMatrix, quantiles = c(0.025, 0.975))

Arguments

sampleMatrix

matrix of outcomes. Could be parameters or predictions

quantiles

quantiles to be calculated

See also

getPredictiveDistribution getPredictiveIntervals