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 <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 |
| Package source: | TwoTimeScales_1.0.0.tar.gz |
| Windows binaries: | r-devel:TwoTimeScales_1.0.0.zip, r-release:TwoTimeScales_1.0.0.zip, 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 |
Please use the canonical formhttps://CRAN.R-project.org/package=TwoTimeScalesto link to this page.