# Clinical Trial Simulator

## Documentation for package ‘TrialSimulator’ version 1.7.0

- DESCRIPTION file.
- User guides, package vignettes and other documentation.
- Package NEWS.

## Help Pages

arm | Define an Arm
Arms | Class of Arm
calendarTime | Triggering Condition by Calendar Time
controller | Define a Controller
Controllers | Class of Controller
CorrelatedPfsAndOs3 | Generate Correlated PFS and OS
CorrelatedPfsAndOs4 | Generate Correlated PFS, OS and Objective Response
doNothing | An Action Function that Does Nothing
DynamicRNGFunction | A wrapper of random number generator.
endpoint | Define Endpoints
Endpoints | Class of Endpoint
enrollment | Triggering Condition by Number of Randomized Patients
eventNumber | Triggering Condition by Number of Events or Non-missing Observations of an Endpoint
fitCoxph | Fit Cox Proportional Hazard Ratio model
fitFarringtonManning | Farrington-Manning test for rate difference
fitLinear | Fit linear regression model
fitLogistic | Fit logistic regression model
fitLogrank | Carry out log rank test
getAdaptiveDesignOutput | Get simulation output in the vignette adaptiveDesign.Rmd
getFixedDesignOutput | Get simulation output in the vignette fixedDesign.Rmd
GraphicalTesting | Class of GraphicalTesting
GroupSequentialTest | Class of GroupSequentialTest
listener | Define a Listener
Listeners | Class of Listener
milestone | Define a Milestone
Milestones | Class of Milestones
PiecewiseConstantExponentialRNG | Generate Time-to-Event Endpoint from Piecewise Constant Exponential Distribution
plot.milestone_time_summary | Plot Triggering Time of Milestones in Simulated Trials
plot.three_state_model | Plot result of three-state ill-death model
rconst | Generate Constant Variable
solveMixtureExponentialDistribution | Solve Parameters in a Mixture Exponential Distribution
solveThreeStateModel | Solve Parameters in a Three-State Ill-Death Model
StaggeredRecruiter | Generate Enrollment Time from Piecewise Constant Uniform Distribution
summarizeDataFrame | Summarize A Data Frame
summarizeMilestoneTime | Summary of Milestone Time from Simulated Trials
trial | Define a Trial
Trials | Class of Trial
weibullDropout | Calculate Parameters of Weibull Distribution as a Dropout Method