check_priors: Plots the prior and posterior parameter probability densities...

View source: R/check_priors.R

check_priorsR 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, ask = TRUE)

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.

ask

Should the user be asked to hit enter for next page? Defaults to TRUE. Only relevant if object is of class bayesmanecfit.

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)


bayesnec documentation built on Sept. 11, 2024, 6:15 p.m.