post.dist.hist {spate}R Documentation

Histogram of posterior distributions.

Description

Histogram of posterior distributions.

Usage

post.dist.hist(data, true=NULL, breaks = 20, mean = FALSE, median = TRUE)

Arguments

data

Matrix of size p x Nmc where p denotes the number of parameters and Nmc the number of MCMC samples.

true

The true value of the parameters (for simulation only).

breaks

Parameter for 'hist()' function.

mean

logical; if 'TRUE' the mean is added to the histogram.

median

logical; if 'TRUE' the median is added to the histogram.

Value

Histograms illustrating posterior distributions.

Author(s)

Fabio Sigrist


[Package spate version 1.7.5 Index]