-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME.Rmd
More file actions
69 lines (46 loc) · 2.37 KB
/
Copy pathREADME.Rmd
File metadata and controls
69 lines (46 loc) · 2.37 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
---
output: github_document
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# tbSTATIS


<!-- badges: start -->
<!-- badges: end -->
The `tbSTATIS` package implements the tuberculosis SeveriTy Assessment Tool for Informed Stratification (TB-STATIS) to classify TB disease severity for individuals using data collected at time of diagnosis. We include functions to estimate the model, quantify model uncertainty, and visualize results. We provide a detailed vignette that walks through an example analysis using `tbSTATIS`.
For a more formal discussion of the theory behind and usage of this method, see the following paper:
Malatesta S, Jacobson KR, Horsburgh CR, Farhat MR, Gile KJ, Kolaczyk ED, White LF. Data-driven classification of tuberculosis disease severity.
Code to replicate all simulation results from this paper is available [here](https://github.com/samalatesta/tbSTATISpaper).
## Installation
You can install the development version of `tbSTATIS` from [GitHub](https://github.com/). We recommend setting the option `build_vignettes=T` when installing so the package vignette can be accessed in your local R environment (note: this may take a while). The `devtools` package must be installed prior to installing `tbSTATIS`.
``` r
# install.packages("devtools")
devtools::install_github("samalatesta/tbSTATIS", build.vignette = T)
```
## Usage
To use `tbSTATIS` in your R scripts or projects, load the package using:
```R
library(tbSTATIS)
```
For detailed information on how to use each function, please refer to the package documentation and vignette. The vignette can be viewed locally after package installation or the knitted html is also included in the `\vignettes` directory.
```R
vignette(package="tbSTATIS")
```
## Documentation
Comprehensive documentation for tbSTATIS functions is available within R. You can access documentation using the ? operator followed by the function name. For example:
```R
?plot_states
```
## License
tbSTATIS is distributed under the MIT License.
## Contact
For questions, please contact:
Samantha Malatesta (samalate@bu.edu)