Given the results of a Bayesian model (possibly based on MCMC) in the form of simulations from the posterior distributions of suitable variables of costs and clinical benefits for two or more interventions, produces a health economic evaluation. Compares one of the interventions (the "reference") to the others ("comparators"). Produces many summary and plots to analyse the results
There are two ways of installing BCEA
. A "stable" version (currently 2.2.6) is packaged and available from CRAN. So you can simply type on your R terminal
install.packages("BCEA")
The second way involves using the "development" version of BCEA
- this will usually be updated more frequently and may be continuously tested. On Windows machines, you need to install a few dependencies, including Rtools first, e.g. by running
pkgs <- c("MASS","Rtools","devtools")
repos <- c("https://cran.rstudio.com", "https://www.math.ntnu.no/inla/R/stable")
install.packages(pkgs,repos=repos,dependencies = "Depends")
before installing the package using devtools
:
devtools::install_github("giabaio/BCEA")
Under Linux or MacOS, it is sufficient to install the package via devtools
:
install.packages("devtools")
devtools:install_github("giabaio/BCEA")