TrialSimulator1.7.0 package

Clinical Trial Simulator

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 o...

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 Di...

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

Simulate phase II and/or phase III clinical trials. It supports various types of endpoints and adaptive strategies. Tools for carrying out graphical testing procedure and combination test under group sequential design are also provided.

  • Maintainer: Han Zhang
  • License: MIT + file LICENSE
  • Last published: 2025-12-19