-
Notifications
You must be signed in to change notification settings - Fork 7
/
README.Rmd
75 lines (52 loc) · 3.19 KB
/
README.Rmd
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
---
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%"
)
```
# bayesCT <img src="man/figures/logo.png" align="right" width="150" height="150" />
<!-- badges: start -->
[![Build Status](https://travis-ci.org/thevaachandereng/bayesCT.svg?branch=master)](https://travis-ci.org/thevaachandereng/bayesCT)
[![CRAN_Status_Badge](https://www.r-pkg.org/badges/version/bayesCT)](https://cran.r-project.org/package=bayesCT)
[![Download_Badge](https://cranlogs.r-pkg.org/badges/bayesCT)](https://cran.r-project.org/package=bayesCT)
[![License: GPL v3](https://img.shields.io/badge/License-GPL%20v3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)
[![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](https://github.com/donaldmusgrove/bayesDP/issues)
[![Build status](https://ci.appveyor.com/api/projects/status/2wfwigrrcpom0oi9/branch/master?svg=true)](https://ci.appveyor.com/project/thevaachandereng/bayesct/branch/master)
[![codecov](https://codecov.io/gh/thevaachandereng/bayesCT/branch/master/graph/badge.svg)](https://codecov.io/gh/thevaachandereng/bayesCT)
[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/thevaachandereng/bayesCT/master?urlpath=rstudio)
[![lifecycle](https://img.shields.io/badge/lifecycle-stable-green.svg)](https://www.tidyverse.org/lifecycle/#stable)
<!-- badges: end -->
# Overview
`bayesCT` is a R package for simulation and analysis of adaptive Bayesian randomized controlled trials under a range of trial designs and outcome types. Currently, it supports Gaussian, binomial, and time-to-event. The `bayesCT` package website is available [here](https://thevaachandereng.github.io/bayesCT/). Please note this package is still under development.
# Installation
Prior to analyzing your data, the R package needs to be installed. The easiest way to install `bayesCT` is through CRAN:
```{r, eval=FALSE}
install.packages("bayesCT")
```
`bayesCT` can also be downloaded and installed via GitHub. The most useful if want to download a *specific* version of the package (which can be found at https://github.com/thevaachandereng/bayesCT/releases):
```{r, eval=FALSE}
devtools::install_github("thevaachandereng/[email protected]")
# or
devtools::install_version("bayesCT", version = "x.x.x", repos = "http://cran.us.r-project.org")
```
The latest developmental version of the package can be downloaded and installed by running:
```{r, eval=FALSE}
devtools::install_github("thevaachandereng/bayesCT")
```
After successful installation, the package must be loaded into the working space:
```{r, eval=FALSE}
library(bayesCT)
```
# Usage
See the vignettes for usage instructions and example.
# Code of Conduct
Please note that this project is released with a [Contributor Code of Conduct](https://github.com/thevaachandereng/bayesCT/blob/master/CONDUCT.md).
By participating in this project you agree to abide by its terms.
# License
`bayesCT` is available under the open source [GNU General Public License, version 3](https://www.r-project.org/Licenses/GPL-3).