Description Usage Arguments Details Author(s) References
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.
1 | rToJags(f)
|
f |
R formula object |
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).
Jarrod Dalton and Benjamin Nutter
http://people.stat.sc.edu/hansont/stat740/jags_user_manual.pdf
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.