The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.
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.
To 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
FileAlternatively, you can build the package using the tar.gz file.
bayesassurance_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.
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.