simIDM 0.1.0.9007
New Features
-
estimateParamsestimates parameters of exponential and Weibull transition hazards using maximum likelihood for a given data set after usingprepareData. -
corTranscalculates the correlation between PFS and OS for a given set of transition hazards, andcorPFSOSestimates this correlation for a given data set, optionally with a bootstrap based confidence interval.
Bug Fixes
-
ExpSurvOSnow returns 0 instead of NaN for large values of t. -
WeibSurvOSnow does not return an error for large values of t. -
PWCSurvOSnow does not return an error for large values of t. It also no longer returns values larger than 1. It is significantly faster, based on a closed form calculation instead of numerical integration. -
getSimulatedDatanow also works when there are no transitions from progression to death, similarly forgetOneClinicalTrial(which now warns if there are no such transitions at all). -
corPFSOSnow undoes thefutureplan upon function exit.
simIDM 0.0.5
CRAN release: 2023-01-27
- First CRAN version of the package.
- The package simulates illness-death models with constant, Weibull or piecewise constant transition hazards.
New Features
- Exponentially, Weibull and piecewise exponentially distributed survival times.
- Random censoring and event-driven censoring after a pre-specified number of PFS or OS events.
- Arbitrary number of treatment arms and flexible randomization ratio.
- Staggered study entry.
- Derivation of PFS and OS survival functions from transition hazards.