BMHE

A utility package for post-processing of Bayesian models performed in OpenBUGS or JAGS

Installation

The package is only available from this GitHub repository, for now. It is possible to install bmhe_utils via r-universe using the following commands.

install.packages(
  'bmhe', 
  repos = c('https://giabaio.r-universe.dev', 'https://cloud.r-project.org')
)

(NB: You can replace the CRAN mirror to any other, e.g. https://www.stats.bris.ac.uk/R/ --- see here).

Alternatively, on Windows machines, you need to install a few dependencies, including Rtools first, e.g. by running

pkgs <- c("MASS", "Rtools", "remotes")
repos <- c("https://cran.rstudio.com", "https://inla.r-inla-download.org/R/stable") 
install.packages(pkgs, repos=repos, dependencies = "Depends")

before installing the package using remotes:

remotes::install_github("giabaio/bmhe_utils")

Under Linux or MacOS, it is sufficient to install the package via remotes:

install.packages("remotes")
remotes::install_github("giabaio/bmhe_utils")

Use

Load the package into the R workspace as usual

library(bmhe)

and use all the available functions. Roughly speaking, these can be divided into "plotting", "printing" and "utility".

Plotting

Printing

Utility

Licence

License: GPL v3

Contributing

Please submit contributions through Pull Requests. To report issues and/or seek support, please file a new ticket in the issue tracker.