Package

SimulationEngineMSM-package

SimulationEngineMSM 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()

A single piecewise exponentially distributed event time.

getWaitTimeSum()

Event Times Distributed as Sum of Weibull

Simulation of single simulated data set for a single treatment arm.

getSimulatedData()

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