jg_check: Check JAGS model code

Description Usage Arguments Value

Description

Checks JAGS model code

Usage

1
jg_check(x, extended = FALSE)

Arguments

x

string of JAGS model code

extended

flag of whether to allow extended BUGS language

Value

Invisible flag of whether JAGS model code passes certain checks. In addition, a unique warning is issued for each failed check.


poissonconsulting/jaggernaut documentation built on Feb. 18, 2021, 11:10 p.m.