Plots the prior and posterior parameter probability densities from an object of class bayesnecfit or bayesmanecfit.

check_priors(object, filename = NA)

Arguments

object

An object of class bayesnecfit or bayesmanecfit returned by bnec.

filename

An optional character vector to be used as a pdf filename in the case of a bayesmanecfit. Any non empty character string will indicate the user wants to save the plots.

Value

A plot of the prior and posterior parameter probability densities.

See also

Examples

if (FALSE) {
library(bayesnec)
data(manec_example)
check_priors(manec_example)
}