New Features
estimateParams
estimates parameters of exponential and Weibull transition hazards using maximum likelihood for a given data set after usingprepareData
.corTrans
calculates the correlation between PFS and OS for a given set of transition hazards, andcorPFSOS
estimates this correlation for a given data set, optionally with a bootstrap based confidence interval.
Bug Fixes
ExpSurvOS
now returns 0 instead of NaN for large values of t.WeibSurvOS
now does not return an error for large values of t.PWCSurvOS
now 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.getSimulatedData
now also works when there are no transitions from progression to death, similarly forgetOneClinicalTrial
(which now warns if there are no such transitions at all).
Miscellaneous
PwcOSInt
,integrateVector
,WeibOSInteg
are no longer exported, and only used internally.- Renamed piecewise constant hazards function to
getPWCHazard
(previouslygetPCWHazard
).
What's Changed
- add CRAN badges to start page by @danielinteractive in #54
- Update pkgdown configuration by @walkowif in #55
- Update assertions survival functions by @numbersman77 in #56
- Update token name by @walkowif in #58
- Update workflows by @walkowif in #59
- Workflow propagations by @walkowif in #61
- Workflow propagation by @walkowif in #62
- Use token in spelling workflow by @walkowif in #63
- adds ExpHazOS function by @holgstr in #65
- 66: Add Function to compute average Hazard Ratio OS by @holgstr in #67
- 69: Function to compute empirical power for a list of simulated trials by @holgstr in #70
- Update Trial Planning Vignette by @holgstr in #71
- Rewrite ExpSurvOS to prevent NaNs by @holgstr in #73
- Fix data generating mechanism for exp+Weibull by @holgstr in #76
- 77: fix problem for missing progression to death transitions by @danielinteractive in #79
- Fix WeibSurvOS by @holgstr in #80
- Adds prepareData by @holgstr in #82
- Add progress bar to getClinicalTrials by @holgstr in #85
- estimateParams() by @holgstr in #84
- Fix overflow error by @holgstr in #86
- Update Vignette by @holgstr in #81
- add rpact to suggests by @holgstr in #88
- Add unit test and coverage reports to pkgdown documentation by @walkowif in #89
- corPFSOS by @holgstr in #91
- Add bootstrap by @holgstr in #94
- Fix mistake in corPFSOS bootstrap by @holgstr in #95
- Vignette for correlation(PFS, OS) by @holgstr in #96
- 92: Add unit tests for correlation functions by @danielinteractive in #98
- 74: closed form calculations for
PWCsurvOS
by @danielinteractive in #97 - 64: cleaning up
trialplanning.Rmd
by @danielinteractive in #100 - 87: Add additional unit tests for survival helper functions by @danielinteractive in #99
- 101: Create hex logo for
simIDM
and prepare for CRAN release [skip vbump] by @danielinteractive in #102
New Contributors
- @numbersman77 made their first contribution in #56
- @holgstr made their first contribution in #65
Full Changelog: v0.0.5...v0.1.0