TranslateFormula: Translate R Formula to JAGS

Description Usage Arguments Details Author(s) References

Description

While most functions available in JAGS have equivalents in R, they don't always use the exact same names. R formulas are converted to character strings, function names translated, and the corresponding JAGS formula is returned.

Usage

1

Arguments

f

R formula object

Details

Only a limited subset of R functions are recognized here, but no attempt is made to restrict the user to functions that will be recognized by JAGS. For now, the user should remain aware of what functions are available in JAGS and only use the corresponding functions in R. The JAGS functions may be referenced in the JAGS user manual (see References). The corresponding R functions are listed in the jagsFunctions data set (use data(jagsFunctions) to review).

Author(s)

Jarrod Dalton and Benjamin Nutter

References

http://people.stat.sc.edu/hansont/stat740/jags_user_manual.pdf


nutterb/HydeNet documentation built on July 13, 2020, 5:21 p.m.