TwoTimeScales: Analysis of Event Data with Two Time Scales (original) (raw)
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 |
| Maintainer: | Angela Carollo |
| 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:
Downloads:
Linking:
Please use the canonical formhttps://CRAN.R-project.org/package=TwoTimeScalesto link to this page.