Package

simIDM simIDM-package

simIDM Package

Assertions

assert_positive_number()

Assertion for Positive Number

assert_intervals()

Assertion for vector describing intervals

Transition parameters

exponential_transition()

Transition Hazards for Exponential Event Times

piecewise_exponential()

Transition Hazards for Piecewise Exponential Event Times

weibull_transition()

Transition Hazards for Weibull Distributed Event Times

Helper functions for piecewise or Weibull Hazards

getPCWHazard()

Piecewise Constant Hazard Values

getSumPCW()

Sum of Two Piecewise Constant Hazards

getPCWDistr()

Piecewise Exponentially Distributed Event Times

PCWInversionMethod()

Single Piecewise Exponentially Distributed Event Time

getWaitTimeSum()

Event Times Distributed as Sum of Weibull

Simulation of a single data set for a single treatment arm

getSimulatedData()

Simulate Data Set from an Illness-Death Model

getOneToTwoRows()

Transitions from the Intermediate State to the Absorbing State

addStaggeredEntry()

Staggered Study Entry

Simulation of a large number of clinical trials

getOneClinicalTrial()

Simulation of a Single Oncology Clinical Trial

getDatasetWideFormat()

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

getClinicalTrials()

Simulation of a Large Number of Oncology Clinical Trials

Event tracking

getTimePoint()

Time-point by which a specified number of events occurred.

getCensoredData()

Helper function for censoringByNumberEvents

censoringByNumberEvents()

Event-driven censoring.

getEventsAll()

Number of recruited/censored/ongoing Patients.

getNumberEvents()

Helper Function for trackEventsPerTrial

trackEventsPerTrial()

Event tracking in an oncology trial.

Survival functions

ExpSurvPFS()

PFS Survival Function from Constant Transition Hazards

ExpSurvOS()

OS Survival Function from Constant Transition Hazards

WeibSurvPFS()

PFS Survival Function from Weibull Transition Hazards

integrateVector()

Helper for Efficient Integration

WeibOSInteg()

Helper Function for WeibSurvOS()

WeibSurvOS()

OS Survival Function from Weibull Transition Hazards

pwA()

Cumulative Hazard for Piecewise Constant Hazards

PWCsurvPFS()

PFS Survival Function from Piecewise Constant Hazards

PwcOSInt()

Helper Function of PWCsurvOS()

PWCsurvOS()

OS Survival Function from Piecewise Constant Hazards