-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathREADME.Rmd
More file actions
100 lines (74 loc) · 4.95 KB
/
README.Rmd
File metadata and controls
100 lines (74 loc) · 4.95 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
---
title: 'BCEA: Bayesian cost-effectiveness analysis <img src="man/figures/logo.png" align="right" />'
format: gfm
execute:
echo: false
message: false
warning: false
output: github_document
---
[](https://app.travis-ci.com/n8thangreen/BCEA)
[](https://github.com/n8thangreen/BCEA/actions/workflows/check-standard.yaml)
[](https://cran.r-project.org/package=BCEA)
[](https://cran.r-project.org/package=BCEA)
[](https://cran.r-project.org/package=BCEA)
[](https://www.codefactor.io/repository/github/n8thangreen/bcea)
[](https://doi.org/10.21105/joss.04206)
> Perform Bayesian Cost-Effectiveness Analysis in R.
:rocket: This is the **development version** of the `R` package `BCEA` (currently on version `r packageDescription("BCEA")$Version`). The stable version is now release `r utils::available.packages(filters = "CRAN")["BCEA",2]`, on [CRAN](https://cran.r-project.org/web/packages/BCEA/index.html).
## Contents
- [Overview](#introduction)
- [Features](#features)
- [Installation](#installation)
- [Articles](#articles)
- [Further details](#further-details)
## Overview
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").
## Features
Main features of `BCEA` include:
* Cost-effectiveness analysis plots, such as CE planes and CEAC
* Summary statistics and tables
* EVPPI calculations and plots
## Installation
Install the [released version from CRAN](https://cran.r-project.org/package=BCEA) with
```r
install.packages("BCEA")
```
The development version (in this repo, which can be updated more quickly and more often than the stable one) can be installed from `r-universe.dev`, using the following command
```r
install.packages(
'BCEA',
repos = c('https://giabaio.r-universe.dev', 'https://cloud.r-project.org')
)
```
Alternatively, you can intall the development version using `remotes`, with the following command.
```r
install.packages("remotes")
remotes::install_github("giabaio/BCEA")
```
**NB**: On Windows machines, you need to install a few dependencies, including [Rtools](https://cran.r-project.org/bin/windows/Rtools/) first, e.g. by running
```r
pkgs <- c("MASS", "Rtools", "remotes")
repos <- "https://cran.rstudio.com"
install.packages(pkgs, repos = repos, dependencies = "Depends")
```
before installing the package using `remotes`.
## Articles
Examples of using specific functions and their different arguments are given in [these articles](https://n8thangreen.github.io/BCEA/articles/index.html):
- [Get Started](https://n8thangreen.github.io/BCEA/articles/bcea.html)
- [Set `bcea()` Parameters: Constructor and Setters](https://n8thangreen.github.io/BCEA/articles/Set_bcea_parameters.html)
- [Cost-Effectiveness Acceptability Curve Plots](https://n8thangreen.github.io/BCEA/articles/ceac.html)
- [Cost-Effectiveness Efficiency Frontier](https://n8thangreen.github.io/BCEA/articles/ceef.html)
- [Risk Aversion Analysis](https://n8thangreen.github.io/BCEA/articles/CEriskav.html)
- [Expected Incremental Benefit Plot](https://n8thangreen.github.io/BCEA/articles/eib.html)
- [Paired vs Multiple Comparisons](https://n8thangreen.github.io/BCEA/articles/paired_vs_multiple_comps.html)
## Further details
The `pkgdown` site is [here](https://n8thangreen.github.io/BCEA/).
More details on `BCEA` are available in our book [_Bayesian Cost-Effectiveness Analysis with the R Package BCEA_](https://gianluca.statistica.it/books/bcea/) (published in the UseR! Springer series). Also, details about the package, including some references and links to a pdf presentation and some posts on my own blog) are given [here](https://gianluca.statistica.it/software/bcea/).
## License
[](https://www.gnu.org/licenses/gpl-3.0)
## Contributing
Please submit contributions through `Pull Requests`, following the [contributing guidelines](https://github.com/n8thangreen/BCEA/blob/dev/CONTRIBUTING.md).
To report issues and/or seek support, please file a new ticket in the
[issue](https://github.com/n8thangreen/BCEA/issues) tracker.
Please note that this project is released with a [Contributor Code of Conduct](https://github.com/n8thangreen/BCEA/blob/dev/CONDUCT.md). By participating in this project you agree to abide by its terms.