constructs a Jags script from a bn

Description

(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

Usage

1
bn2jagscript(bn, modna, codna, quoi=bn@nom, iter=c(1000, 10000, 10))

Arguments

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.

Details

Completely specific to Jags dialect

Value

A character vector, a component a line.

Examples

1
2
 rebastaba3k("RESET"); # (only for R checking)
 cat("To be added\n");

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.