autojags | R Documentation |
The autojags
takes a rjags
object as input.
autojags
will update the model until it converges.
## S3 method for class 'rjags'
update(object, n.iter=1000, n.thin=1,
refresh=n.iter/50, progress.bar = "text", ...)
autojags(object, n.iter=1000, n.thin=1, Rhat=1.1, n.update=2,
refresh=n.iter/50, progress.bar = "text", ...)
object |
an object of |
n.iter |
number of total iterations per chain, default=1000 |
n.thin |
thinning rate. Must be a positive integer, default=1 |
... |
further arguments pass to or from other methods. |
Rhat |
converegence criterion, default=1.1. |
n.update |
the max number of updates, default=2. |
refresh |
refresh frequency for progress bar, default is |
progress.bar |
type of progress bar. Possible values are “text”,
“gui”, and “none”. Type “text” is displayed
on the R console. Type “gui” is a graphical progress bar
in a new window. The progress bar is suppressed if |
Yu-Sung Su suyusung@tsinghua.edu.cn
Gelman, A., Carlin, J.B., Stern, H.S., Rubin, D.B. (2003): Bayesian Data Analysis, 2nd edition, CRC Press.
# see ?jags for an example.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.