Last data update: 2014.03.03

R: Function for recompiling rjags object
recompileR Documentation

Function for recompiling rjags object

Description

The recompile takes a rjags object as input. recompile will re-compile the previous saved rjags object.

Usage


recompile(object, n.iter, refresh, progress.bar)
## S3 method for class 'rjags'
recompile(object, n.iter=100, refresh=n.iter/50, 
    progress.bar = "text")


Arguments

object

an object of rjags class.

n.iter

number of iteration for adapting, default is 100

refresh

refresh frequency for progress bar, default is n.iter/50

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 progress.bar is “none”

Author(s)

Yu-Sung Su suyusung@tsinghua.edu.cn

Examples

 # see ?jags for an example.

Results