Plot inclusion probabilities for a set of "credible sets"
Arguments
- prob_mat
Numeric matrix (r × p) of probabilities (each row sums to 1).
- row_labels
Optional character vector of length r. Default paste0("CS", 1:r).
- var_labels
Optional character or numeric vector of length p. Default 1:p.
- alpha
Coverage level for credible sets. Default 0.05 (95% coverage).
Value
A ggplot2 object showing credible sets.