You bring in the design specs, we provide standardized R code.
SimHubModels is collection of ready-to-use functions that are commonly used in clinical trial simulations at BI. Dev teams can use this package to estimate sample size and operating characteristics of a trial design. Please reach out to SimHub for help, queries, comments, and suggestions!
This package is still in early development. You can install the development version of SimHubModels like so:
- Run the following in the Terminal tab.
git clone ssh://git@bitbucket.biscrum.com:7999/simhubtc/simhubmodels.git ~/SimHubModels
cd ~/SimHubModels
- Ensure that you R Console is on the correct working directory.
setwd("~/SimHubModels")
Alternatively in the Files tab, click on the SimHubModels.Rproj file.
Then, check that the working directory is where you cloned the source.
getwd()
- Install the SimHubModels package. Run the following in the R Console tab.
install.packages("devtools")
devtools::install()
Basic usage example coming soon…
library(SimHubModels)
## basic example code