check_chains {bayesnec} | R Documentation |
Checking chain convergence
Description
Plots HMC chains for a bayesnecfit
or
bayesmanecfit
model fit as returned by bnec
.
Usage
check_chains(x, ...)
## S3 method for class 'bayesnecfit'
check_chains(x, ...)
## S3 method for class 'bayesmanecfit'
check_chains(x, filename = NA, ...)
Arguments
x |
An object of class |
... |
Unused. |
filename |
An optional |
Value
No return value, generates a plot or writes a pdf to file.
Examples
## Not run:
library(bayesnec)
check_chains(manec_example)
nec4param <- pull_out(manec_example, model = "nec4param")
check_chains(nec4param)
## End(Not run)
[Package bayesnec version 2.1.2.0 Index]