Skip to content

TwoTimeScales

Analysis of Event Data with Two Time Scales

v1.2.1 · Mar 30, 2026 · GPL-3

Description

Analyse time to event data with two time scales by estimating a smooth hazard that varies over two time scales. If covariates are available, estimate a proportional hazards model with such a two-dimensional baseline hazard. Functions are provided to prepare the raw data for estimation, to fit the model and to plot the two-dimensional smooth hazard. Extension to a competing risks model are implemented. For details about the method please refer to Carollo et al. (2025) <doi:10.1002/sim.10297>.

Downloads

260

Last 30 days

16733rd

548

Last 90 days

2.5K

Last year

Trend: +75.7% (30d vs prior 30d)

CRAN Check Status

14 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Dependency Network

Dependencies Reverse dependencies colorspace Epi fields JOPS LMMsolver popEpi reshape2 spam ucminf viridis TwoTimeScales

Version History

updated 1.2.1 ← 1.2.0 diff Mar 30, 2026
updated 1.2.0 ← 1.0.0 diff Mar 25, 2026
new 1.0.0 Mar 10, 2026