Learn R Programming

R2jags (version 0.8-9)

recompile: 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 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

Yu-Sung Su suyusung@tsinghua.edu.cn

Examples

Run this code
 # see ?jags for an example.

Run the code above in your browser using DataLab