TwoTimeScales: Analysis of Event Data with Two Time Scales

Analyse time to event data with two time scales by estimating a smooth hazard that varies over two time scales and also, if covariates are available, to estimate a proportional hazards model with such a two-dimensional baseline hazard. Functions are provided to prepare the raw data for estimation, to estimate 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. (2024) <doi:10.1002/sim.10297>.

Version: 1.0.0
Depends: R (≥ 3.5.0)
Imports: colorspace, Epi, fields, JOPS, LMMsolver, popEpi, reshape2, spam, ucminf, viridis
Suggests: knitr, rmarkdown, testthat (≥ 3.0.0)
Published: 2024-12-23
DOI: 10.32614/CRAN.package.TwoTimeScales
Author: Angela Carollo ORCID iD [aut, cre, cph], Paul H.C. Eilers [aut], Jutta Gampe [aut]
Maintainer: Angela Carollo <carollo at demogr.mpg.de>
BugReports: https://github.com/AngelaCar/TwoTimeScales/issues
License: GPL-3
URL: https://github.com/AngelaCar/TwoTimeScales, https://angelacar.github.io/TwoTimeScales/
NeedsCompilation: no
Materials: README NEWS
CRAN checks: TwoTimeScales results

Documentation:

Reference manual: TwoTimeScales.pdf
Vignettes: Introduction to TwoTimeScales (source, R code)
Smooth hazards with one time scale (source, R code)
Smooth hazards with two time scales (source, R code)
Visualize hazards with two time scales (source, R code)

Downloads:

Package source: TwoTimeScales_1.0.0.tar.gz
Windows binaries: r-devel: TwoTimeScales_1.0.0.zip, r-release: not available, r-oldrel: TwoTimeScales_1.0.0.zip
macOS binaries: r-release (arm64): TwoTimeScales_1.0.0.tgz, r-oldrel (arm64): TwoTimeScales_1.0.0.tgz, r-release (x86_64): TwoTimeScales_1.0.0.tgz, r-oldrel (x86_64): TwoTimeScales_1.0.0.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=TwoTimeScales to link to this page.