├── .gitignore ├── Example 1 ├── Solution │ ├── AnalysisMethods.r │ ├── Example 1.Rproj │ ├── Functions.R │ ├── Main.r │ ├── Randomizer.r │ ├── SimpleApproach.R │ ├── SimulatePatientOutcome.r │ ├── SimulateTrial.R │ └── test_SimulatePatientOutcome.R └── StartTemplate │ ├── AnalysisMethods.r │ ├── Example 1 Template.Rproj │ ├── Functions.R │ ├── Main.r │ ├── Randomizer.r │ ├── SimpleApproach.R │ ├── SimulatePatientOutcome.r │ └── SimulateTrial.R ├── Example 2 ├── AnalysisMethods.r ├── Example 2.Rproj ├── Functions.R ├── Main.r ├── Randomizer.r ├── SimulatePatientOutcome.r └── SimulateTrial.R ├── Example 3 ├── AnalysisMethods.r ├── Example 3.Rproj ├── Functions.R ├── Main.r ├── Randomizer.r ├── SimulatePatientOutcome.r ├── SimulateTrial.R └── StoppingRules.R ├── Example 4 ├── AnalysisMethods.r ├── Example 4.Rproj ├── Functions.R ├── Instructions.docx ├── Main.r ├── PlotVirtualTrial.R ├── Randomizer.r ├── ShinyApp.R ├── ShinyServer.R ├── ShinyUI.R ├── SimulatePatientOutcome.r ├── SimulateScenario.R ├── SimulateTrial.R └── StoppingRules.R ├── LICENSE ├── Presentations ├── Intro1.pptx ├── Part 2.pptx └── Part 3.pptx ├── ProgrammingConventions.txt └── README.md /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kwathen/ClinicalTrialSimulation/HEAD/.gitignore -------------------------------------------------------------------------------- /Example 1/Solution/AnalysisMethods.r: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kwathen/ClinicalTrialSimulation/HEAD/Example 1/Solution/AnalysisMethods.r -------------------------------------------------------------------------------- /Example 1/Solution/Example 1.Rproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kwathen/ClinicalTrialSimulation/HEAD/Example 1/Solution/Example 1.Rproj -------------------------------------------------------------------------------- /Example 1/Solution/Functions.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kwathen/ClinicalTrialSimulation/HEAD/Example 1/Solution/Functions.R -------------------------------------------------------------------------------- /Example 1/Solution/Main.r: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kwathen/ClinicalTrialSimulation/HEAD/Example 1/Solution/Main.r -------------------------------------------------------------------------------- /Example 1/Solution/Randomizer.r: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kwathen/ClinicalTrialSimulation/HEAD/Example 1/Solution/Randomizer.r -------------------------------------------------------------------------------- /Example 1/Solution/SimpleApproach.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kwathen/ClinicalTrialSimulation/HEAD/Example 1/Solution/SimpleApproach.R -------------------------------------------------------------------------------- /Example 1/Solution/SimulatePatientOutcome.r: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kwathen/ClinicalTrialSimulation/HEAD/Example 1/Solution/SimulatePatientOutcome.r -------------------------------------------------------------------------------- /Example 1/Solution/SimulateTrial.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kwathen/ClinicalTrialSimulation/HEAD/Example 1/Solution/SimulateTrial.R -------------------------------------------------------------------------------- /Example 1/Solution/test_SimulatePatientOutcome.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kwathen/ClinicalTrialSimulation/HEAD/Example 1/Solution/test_SimulatePatientOutcome.R -------------------------------------------------------------------------------- /Example 1/StartTemplate/AnalysisMethods.r: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kwathen/ClinicalTrialSimulation/HEAD/Example 1/StartTemplate/AnalysisMethods.r -------------------------------------------------------------------------------- /Example 1/StartTemplate/Example 1 Template.Rproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kwathen/ClinicalTrialSimulation/HEAD/Example 1/StartTemplate/Example 1 Template.Rproj -------------------------------------------------------------------------------- /Example 1/StartTemplate/Functions.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kwathen/ClinicalTrialSimulation/HEAD/Example 1/StartTemplate/Functions.R -------------------------------------------------------------------------------- /Example 1/StartTemplate/Main.r: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kwathen/ClinicalTrialSimulation/HEAD/Example 1/StartTemplate/Main.r -------------------------------------------------------------------------------- /Example 1/StartTemplate/Randomizer.r: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kwathen/ClinicalTrialSimulation/HEAD/Example 1/StartTemplate/Randomizer.r -------------------------------------------------------------------------------- /Example 1/StartTemplate/SimpleApproach.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kwathen/ClinicalTrialSimulation/HEAD/Example 1/StartTemplate/SimpleApproach.R -------------------------------------------------------------------------------- /Example 1/StartTemplate/SimulatePatientOutcome.r: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kwathen/ClinicalTrialSimulation/HEAD/Example 1/StartTemplate/SimulatePatientOutcome.r -------------------------------------------------------------------------------- /Example 1/StartTemplate/SimulateTrial.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kwathen/ClinicalTrialSimulation/HEAD/Example 1/StartTemplate/SimulateTrial.R -------------------------------------------------------------------------------- /Example 2/AnalysisMethods.r: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kwathen/ClinicalTrialSimulation/HEAD/Example 2/AnalysisMethods.r -------------------------------------------------------------------------------- /Example 2/Example 2.Rproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kwathen/ClinicalTrialSimulation/HEAD/Example 2/Example 2.Rproj -------------------------------------------------------------------------------- /Example 2/Functions.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kwathen/ClinicalTrialSimulation/HEAD/Example 2/Functions.R -------------------------------------------------------------------------------- /Example 2/Main.r: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kwathen/ClinicalTrialSimulation/HEAD/Example 2/Main.r -------------------------------------------------------------------------------- /Example 2/Randomizer.r: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kwathen/ClinicalTrialSimulation/HEAD/Example 2/Randomizer.r -------------------------------------------------------------------------------- /Example 2/SimulatePatientOutcome.r: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kwathen/ClinicalTrialSimulation/HEAD/Example 2/SimulatePatientOutcome.r -------------------------------------------------------------------------------- /Example 2/SimulateTrial.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kwathen/ClinicalTrialSimulation/HEAD/Example 2/SimulateTrial.R -------------------------------------------------------------------------------- /Example 3/AnalysisMethods.r: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kwathen/ClinicalTrialSimulation/HEAD/Example 3/AnalysisMethods.r -------------------------------------------------------------------------------- /Example 3/Example 3.Rproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kwathen/ClinicalTrialSimulation/HEAD/Example 3/Example 3.Rproj -------------------------------------------------------------------------------- /Example 3/Functions.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kwathen/ClinicalTrialSimulation/HEAD/Example 3/Functions.R -------------------------------------------------------------------------------- /Example 3/Main.r: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kwathen/ClinicalTrialSimulation/HEAD/Example 3/Main.r -------------------------------------------------------------------------------- /Example 3/Randomizer.r: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kwathen/ClinicalTrialSimulation/HEAD/Example 3/Randomizer.r -------------------------------------------------------------------------------- /Example 3/SimulatePatientOutcome.r: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kwathen/ClinicalTrialSimulation/HEAD/Example 3/SimulatePatientOutcome.r -------------------------------------------------------------------------------- /Example 3/SimulateTrial.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kwathen/ClinicalTrialSimulation/HEAD/Example 3/SimulateTrial.R -------------------------------------------------------------------------------- /Example 3/StoppingRules.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kwathen/ClinicalTrialSimulation/HEAD/Example 3/StoppingRules.R -------------------------------------------------------------------------------- /Example 4/AnalysisMethods.r: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kwathen/ClinicalTrialSimulation/HEAD/Example 4/AnalysisMethods.r -------------------------------------------------------------------------------- /Example 4/Example 4.Rproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kwathen/ClinicalTrialSimulation/HEAD/Example 4/Example 4.Rproj -------------------------------------------------------------------------------- /Example 4/Functions.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kwathen/ClinicalTrialSimulation/HEAD/Example 4/Functions.R -------------------------------------------------------------------------------- /Example 4/Instructions.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kwathen/ClinicalTrialSimulation/HEAD/Example 4/Instructions.docx -------------------------------------------------------------------------------- /Example 4/Main.r: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kwathen/ClinicalTrialSimulation/HEAD/Example 4/Main.r -------------------------------------------------------------------------------- /Example 4/PlotVirtualTrial.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kwathen/ClinicalTrialSimulation/HEAD/Example 4/PlotVirtualTrial.R -------------------------------------------------------------------------------- /Example 4/Randomizer.r: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kwathen/ClinicalTrialSimulation/HEAD/Example 4/Randomizer.r -------------------------------------------------------------------------------- /Example 4/ShinyApp.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kwathen/ClinicalTrialSimulation/HEAD/Example 4/ShinyApp.R -------------------------------------------------------------------------------- /Example 4/ShinyServer.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kwathen/ClinicalTrialSimulation/HEAD/Example 4/ShinyServer.R -------------------------------------------------------------------------------- /Example 4/ShinyUI.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kwathen/ClinicalTrialSimulation/HEAD/Example 4/ShinyUI.R -------------------------------------------------------------------------------- /Example 4/SimulatePatientOutcome.r: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kwathen/ClinicalTrialSimulation/HEAD/Example 4/SimulatePatientOutcome.r -------------------------------------------------------------------------------- /Example 4/SimulateScenario.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kwathen/ClinicalTrialSimulation/HEAD/Example 4/SimulateScenario.R -------------------------------------------------------------------------------- /Example 4/SimulateTrial.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kwathen/ClinicalTrialSimulation/HEAD/Example 4/SimulateTrial.R -------------------------------------------------------------------------------- /Example 4/StoppingRules.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kwathen/ClinicalTrialSimulation/HEAD/Example 4/StoppingRules.R -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kwathen/ClinicalTrialSimulation/HEAD/LICENSE -------------------------------------------------------------------------------- /Presentations/Intro1.pptx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kwathen/ClinicalTrialSimulation/HEAD/Presentations/Intro1.pptx -------------------------------------------------------------------------------- /Presentations/Part 2.pptx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kwathen/ClinicalTrialSimulation/HEAD/Presentations/Part 2.pptx -------------------------------------------------------------------------------- /Presentations/Part 3.pptx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kwathen/ClinicalTrialSimulation/HEAD/Presentations/Part 3.pptx -------------------------------------------------------------------------------- /ProgrammingConventions.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kwathen/ClinicalTrialSimulation/HEAD/ProgrammingConventions.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kwathen/ClinicalTrialSimulation/HEAD/README.md --------------------------------------------------------------------------------