This is a Shiny application demonstrating how the R statistical computing language and the shiny package enable a dynamic and efficient workflow to perform clinical trial simulations and explore results interactively. You can view the application at app.simworkshop.online. If you would like to run the application locally on your system, follow this procedure:
- Install R and the RStudio IDE for your operating system.
- Download this repository to your local system. You can click the Clone or download button on this page, or clone the repository.
- Open RStudio and choose
File -> Open Project
. Browse to the directory on your local system you downloaded the repository and open thesimapp.Rproj
file. - The R session should import the required packages for the application (this may take some time). If the packages are not imported, type the following in the R console:
packrat::restore()
.
Once the packages have been downloaded, you can run the application by clicking the Run App
button in the RStudio interface.