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

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

Examples

if (FALSE) { # \dontrun{
library(bayesnec)
data(manec_example)
check_priors(manec_example)
} # }