Plots HMC chains for a bayesnecfit
model fit as returned
by bnec
.
# S3 method for bayesmanecfit
check_chains(x, ..., filename = NA)
An object of class bayesnecfit
or
bayesmanecfit
as returned by bnec
.
arguments used when class is bayesmanecfit
.
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.
No return value, generates a plot or writes a pdf to file.
library(bayesnec)
data(manec_example)
# print to device
check_chains(manec_example)