I've read that it is possible to add new functions to JAGS by writing a module. However, I'm struggling to find documentation on how to do this. Can anyone point me to a simple example, showing me how to write, build, and use a simple new module in JAGS, please?
I'm just interested in writing new functions, not a new distribution or sampler.
Thanks in advance,
I'm a bit behind on writing the developer's manual. The best available documentation at the moment is by Dominik Wabersich and Joachim Vandekerckhove: