This R package offers a constructive set of simulation-based functions used for determining sample size and assurance in various settings. We hope these functions will be useful for addressing a wide range of clinical trial study design problems.
Setup InstructionsTo install the bayesassurance
package in R, there are several ways to compile the package from source as the package is not yet available on CRAN.
devtools
is installed and loaded. If not, run install.packages("devtools")
and load the package using library(devtools)
once installation is complete.devtools::install_github("jpan928/bayesassurance_rpackage")
. You may be asked to install Rtools on a Windows machine.library(bayesassurance)
and start using package normally.tar.gz
File
Alternatively, you can build the package using the tar.gz file.
Mac Within R Studiobayesassurance_0.1.0.tar.gz
file.setwd("your/filepath/here")
.install.packages("bayesassurance_0.1.0.tar.gz", repos = NULL, type = "source")
.library(bayesassurance)
and start using package normally.bayesassurance_0.1.0.tar.gz
file.setwd("your/filepath/here")
.install.packages("bayesassurance_0.1.0.tar.gz", repos = NULL, type = "source")
. You may be asked to install Rtools.library(bayesassurance)
and start using package normally.bayesassurance_0.1.0.tar.gz
file.PATH <your/filepath/here>
. An example of this file path is C:Files.3.bayesassurance_0.1.0.tar.gz
.R CMD INSTALL bayesassurance_0.1.0.tar.gz
to install the package.library(bayesassurance)
and start using package normally.For JSS reviewers, R scripts containing the necessary code to reproduce figures and examples in the manuscript can be found under Replication_Material
. Please refer to the main script file, replication_script.R
, and work through the examples in chronological order. The script includes all worked out examples and figures in the order in which they appear in the manuscript. It will also point you to the supplementary R Markdown files (fig7_replication.Rmd
, fig9_replication.Rmd
, and fig10_replication.Rmd
) where appropriate.
Vignettes are currently undergoing revisions and will be available soon.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4