Description Usage Arguments Details Value Examples
(bn) / not available for the moment / exploring all nodes of a bn, produces a set of lines which can serve as starting script for jags. No data is considered; selected nodes are monitored; iteration numbers are indicated
1 | bn2jagscript(bn, modna, codna, quoi=bn@nom, iter=c(1000, 10000, 10))
|
bn |
bn to translate |
modna |
model name: i.e. the file containing the model definition. |
codna |
coda root name: i.e. the stem for the file where Jags will store the simulation results. |
quoi |
set of nodes to monitor. |
iter |
respectively the number of iterations for the burnin, the number of iterations for the monitoring and their thinning value. |
Completely specific to Jags dialect
A character vector, a component a line.
1 2 | rebastaba3k("RESET"); # (only for R checking)
cat("To be added\n");
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.