Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
www
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

SMARTsize

Source code for SMARTsize, an online sample size calculator for SMARTs with end-of-study continuous or binary outcomes.

Usage and Installation

The application is available online at https://nseewald1.shinyapps.io/SMARTsize/. It can also be run locally.

Local installation

Paste the following code into an R console:

reqPackages <- c("devtools", "shiny", "shinyBS", "DiagrammeR", "shinyjs")
installList <- !(reqPackages %in% installed.packages())
if (any(installList)) {
  install.packages(reqPackages[installList])
}
library(shiny)

shiny::runGitHub("nseewald1/SMARTsize")

Brief file descriptions

  • ui.R: Defines the user interface for the application, including inputs/outputs, etc.
  • server.R: Defines the backend for the user interface; connects inputs to appropriate functions to return outputs.
  • global.R: Contains sampleSize and ABcomp functions for computing sample size, as well as other "non-reactive" helper functions for use throughout the app.

Editing Text

About

Source code for SMARTsize, an online sample size calculator for SMARTs with end-of-study continuous or binary outcomes.

Resources

License

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.