Automatically Write 'JAGS' Code for Hierarchical Bayesian Models on Trees

When relationships between sources of data can be represented by a tree, the generation of appropriate Markov Chain Monte Carlo modeling code to be used with 'JAGS' to run a Bayesian hierarchical model can be automatically generated by this package. Any admissible tree-structured data can be used, under the assumption that node counts are multinomial and branching probabilities are Dirichlet among sibling groups. The methodological basis used to create this package can be found in Flynn (2023) < http://hdl.handle.net/2429/86174>.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("JAGStree")

1.0.1 by Mallory J Flynn, 2 years ago


https://github.com/malfly/JAGStree


Browse source code at https://github.com/cran/JAGStree


Authors: Mallory J Flynn [cre, aut]


Documentation:   PDF Manual  


GPL (>= 2) license


Imports data.tree, gtools, mcmcplots, stats, R2jags, tidyverse, DiagrammeR, AutoWMM

Suggests knitr, rmarkdown, testthat


See at CRAN