isflat | R Documentation |
The function tests whether Markov chains converge prematurelly:
isflat(
x,
p1 = 1/3,
p2 = 1/3,
cut_location = 0.25,
cut_scale = Inf,
verbose = FALSE
)
x |
posterior samples |
p1 |
the range of the head of MCMC chains |
p2 |
the range of the tail of the MCMC chains |
cut_location |
how far away a location chains been considered as stuck |
cut_scale |
how far away a scale chains been considered as stuck |
verbose |
print more information |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.