Learn R Programming

bayesnec (version 2.1.3.0)

check_priors: 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)

Value

A plot of the prior and posterior parameter probability densities.

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.

See Also

bnec

Examples

Run this code
if (FALSE) {
library(bayesnec)
data(manec_example)
check_priors(manec_example)
}

Run the code above in your browser using DataLab