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.
rToJags(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).
http://people.stat.sc.edu/hansont/stat740/jags_user_manual.pdf