jags.module: Dynamically load JAGS modules

Description Usage Arguments Author(s) Examples

Description

A JAGS module is a dynamically loaded library that extends the functionality of JAGS. These functions load and unload JAGS modules and show the names of the currently loaded modules.

Usage

1
2
3

Arguments

name

name of the load module to be loaded

path

file path to the location of the DLL. If omitted, the option jags.moddir is used to locate the modules

quiet

a logical. If TRUE, no message will be printed about loading the package

Author(s)

Martyn Plummer

Examples

1
2
3
4
5

Example output

Loading required package: coda
Linked to JAGS 4.2.0
Loaded modules: basemod,bugs
[1] "basemod" "bugs"   
module glm loaded
[1] "basemod" "bugs"    "glm"    
Module glm unloaded
[1] "basemod" "bugs"   

rjags documentation built on Nov. 6, 2019, 5:07 p.m.