Package: TwoTimeScales 1.2.1

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. 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>.
Authors:
TwoTimeScales_1.2.1.tar.gz
TwoTimeScales_1.2.1.zip(r-4.7)TwoTimeScales_1.2.1.zip(r-4.6)TwoTimeScales_1.2.1.zip(r-4.5)
TwoTimeScales_1.2.1.tgz(r-4.6-any)TwoTimeScales_1.2.1.tgz(r-4.5-any)
TwoTimeScales_1.2.1.tar.gz(r-4.7-any)TwoTimeScales_1.2.1.tar.gz(r-4.6-any)
TwoTimeScales_1.2.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
TwoTimeScales/json (API)
| # Install 'TwoTimeScales' in R: |
| install.packages('TwoTimeScales', repos = c('https://angelacar.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/angelacar/twotimescales/issues
Pkgdown/docs site:https://angelacar.github.io
- reccolon2ts - Data from the chemotherapy for stace B/C colon cancer study
Last updated from:ca84097384. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 279 | ||
| source / vignettes | OK | 266 | ||
| linux-release-x86_64 | OK | 286 | ||
| macos-release-arm64 | OK | 198 | ||
| macos-oldrel-arm64 | OK | 298 | ||
| windows-devel | OK | 168 | ||
| windows-release | OK | 140 | ||
| windows-oldrel | OK | 162 | ||
| wasm-release | OK | 160 |
Exports:boot_cuminc2tscovariates_plotcumhaz2tscuminc2tsexposures_events_1dexposures_events_2dexposures_events_Lexisfit1tsfit2tsfitpgamfitvcmget_hazard_1dget_hazard_1d_LMMget_hazard_2dget_hazard_2d_LMMget_hrhaz2ts_summaryhaz2tsLMM_summaryhaz2tsPGAM_summaryhaz2tsVCM_summarymake_binsmake_gridplot_boot_cuminc2tspredict_cif2ts_pointwisepredict_comprisks2tspredict_haz2tspredict_haz2ts_pointwiseprepare_dataselect_model2tssurv2ts
Dependencies:ashbitopsbootcliclustercmprskcolorspacecpp11data.tabledotCall64dplyrEpietmfarverfdsfieldsFNNgenericsggplot2gluegridExtragtablehdrcdeisobandJOPSkernlabKernSmoothkslabelinglatticelifecycleLMMsolverlocfitmagrittrmapsMASSMatrixmclustmgcvmulticoolmvtnormnlmenumDerivpcaPPpillarpkgconfigplyrpopEpipracmaR6rainbowRColorBrewerRcppRcppArmadilloRCurlreshape2rlangrpartS7scalesspamSpATSstringistringrsurvivaltibbletidyselectucminfutf8vctrsviridisviridisLitewithrzoo
Last update: 2026-06-30
Started: 2024-04-25
Last update: 2026-06-30
Started: 2024-04-25
Last update: 2026-06-30
Started: 2024-04-25
Last update: 2026-06-30
Started: 2024-04-25
