Package 




Assertions 

Assertion for Positive Number 

Assertion for vector describing intervals 

Transition parameters 

Transition Hazards for Exponential Event Times 

Transition Hazards for Piecewise Exponential Event Times 

Transition Hazards for Weibull Distributed Event Times 

Helper functions for piecewise or Weibull Hazards 

Piecewise Constant Hazard Values 

Sum of Two Piecewise Constant Hazards 

Piecewise Exponentially Distributed Event Times 

Single Piecewise Exponentially Distributed Event Time 

Event Times Distributed as Sum of Weibull 

Simulation of a single data set for a single treatment arm 

Simulate Data Set from an IllnessDeath Model 

Transitions from the Intermediate State to the Absorbing State 

Staggered Study Entry 

Simulation of a large number of clinical trials 

Simulation of a Single Oncology Clinical Trial 

Conversion of a Data Set from One Row per Transition to One Row per Patient 

Simulation of a Large Number of Oncology Clinical Trials 

Event tracking 

Timepoint by which a specified number of events occurred. 

Helper function for 

Eventdriven censoring. 

Number of recruited/censored/ongoing Patients. 

Helper Function for 

Event tracking in an oncology trial. 

Survival functions 

PFS Survival Function from Constant Transition Hazards 

OS Survival Function from Constant Transition Hazards 

PFS Survival Function from Weibull Transition Hazards 

Helper for Efficient Integration 

Helper Function for 

OS Survival Function from Weibull Transition Hazards 

Cumulative Hazard for Piecewise Constant Hazards 

PFS Survival Function from Piecewise Constant Hazards 

Helper Function of 

OS Survival Function from Piecewise Constant Hazards 