Description Usage Arguments Value References See Also

Calculate an SCB from a samples matrix, which minimizes the absolute distances of the contained samples to a mode vector, at each gridpoint. Therefore the SCB might be considered an “HPD SCB”.

1 |

`samples` |
m by n matrix where m is the number of parameters,
n is the number of samples and hence each (multivariate) sample is a column in
the matrix |

`mode` |
mode vector of length m (defaults to the vector of medians) |

`level` |
credible level for the SCB (default: 0.95) |

A matrix with columns “lower” and “upper”, with the lower and upper SCB bounds, respectively.

Besag, J.; Green, P.; Higdon, D. \& Mengersen, K. (1995):
“Bayesian computation and stochastic systems (with
discussion)”, *Statistical Science*, 10, 3-66.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.