# Clinical Trial Simulator

## Documentation for package ‘TrialSimulator’ version 1.10.1

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

## Help Pages

add_arms | Adding One or More Arms to a Trial
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
remove_arms | Removing One or More Arms From a Trial
resize | Resizing a Trial
set_duration | Extending Duration of a Trial
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
update_generator | Updating Data Generators of One or More Endpoints in an Arm
update_sample_ratio | Updating Sampling Ratios of Existing Arms in a Trial
weibullDropout | Calculate Parameters of Weibull Distribution as a Dropout Method