check_priors {bayesnec}R Documentation

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

Description

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

Usage

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

bnec

Examples

## Not run: 
library(bayesnec)
data(manec_example)
check_priors(manec_example)

## End(Not run)


[Package bayesnec version 2.1.2.0 Index]