credsetmat: Obtain credible sets from a matrix of posterior probabilities
Description
Obtain credible sets from a matrix of posterior probabilities
Usage
credsetmat(pp, iCV, threshold)
Arguments
pp
Matrix of posterior probabilities (one row for each simulation)
iCV
A vector of the indices of the CV
threshold
The threshold to use to generate the credible set