bbr.bayes
is an extension to the bbr package for Bayesian
modeling. The package is in the early stages of development. Initial
support has been added for Stan models (powered by cmdstanr) and
for NONMEM Bayes models.
You can install the latest release of bbr.bayes
from MPN.
To install the latest development version from GitHub, you can use
remotes
:
# install.packages("remotes")
remotes::install_github("metrumresearchgroup/bbr.bayes")
Note that a few bbr.bayes
dependencies are not on CRAN but are
available from other CRAN-like repos:
bbr is available on MPN. Use snapshot 2024-03-01 or later to
get the minimum version required by bbr.bayes
.
cmdstanr is available from MPN and https://mc-stan.org/r-packages/.
Documentation, including a "Getting Started with bbr.bayes and Stan" and "Getting Started with bbr.bayes and NONMEM Bayes" vignettes, is available at https://metrumresearchgroup.github.io/bbr.bayes/.
bbr.bayes
uses pkgr to manage development dependencies and renv
to provide isolation. To set up an environment with pkgr and renv:
pkgr
, if not already installedrenv::init(bare = TRUE)
pkgr install
in terminal within package directory