Skip to content

Version 0.14.2

Choose a tag to compare

@eniclas eniclas released this 08 Oct 14:24
· 44 commits to main since this release

Originally released by Niclas Jonsson on Sep 22, 2025, 3:31 PM GMT+0200

Release Notes

  • makeSummaryTableTTE(myID = , myDV = ) now define the column with the subject number and the column of the dependent variable. It was the intended behavior originally but the implementation was wrong. (#31)
  • summaryFollowUpTime() now rounds the total follow-up times after calculating the event rate. It rounded follow-up time first, possible rounding to 0 years of follow-up and an event rate of Infinity. (#32)
  • summaryCountRTTE() now correctly lumps the columns if the number of events is > 9. (#33)
  • summaryCountRTTE() now returns correct column names if these are lumped into a "X and more" category. (#34)
  • New ggKAP(scale_y_risktable_reverse = FALSE). If TRUE, reverses the y axis of the risk table. Useful to have the first levels of a vector from the first line and not from the bottom. Default remains FALSE to preserve reproducibility. (#35)
  • createTTESim() now provides a NONMEM code where the time of previous event in $DES is updated whenever a new event is simulated (using COM(1)), and where the time since last event is computed as absolute value to avoid potential negative times. This fixes a bug that was identified on several data sets where simulations crashed. New createTTESim(timepVar = "TIMEP") to identify the variable that corresponds to the time of previous event.
  • createTTESim() now provides a NONMEM code for TTE where SURX2, instead of SURX, is used to simulate a censoring event. This avoids the assumption of a definition of SURX in the legacy code, and make the simulation code more reliable.
  • New createTTESim(commentERROR = TRUE) to comment out the original $ERROR block.