Package: TwoTimeScales 1.1.0
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 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>.
Authors:
TwoTimeScales_1.1.0.tar.gz
TwoTimeScales_1.1.0.zip(r-4.5)TwoTimeScales_1.1.0.zip(r-4.4)TwoTimeScales_1.1.0.zip(r-4.3)
TwoTimeScales_1.1.0.tgz(r-4.5-any)TwoTimeScales_1.1.0.tgz(r-4.4-any)TwoTimeScales_1.1.0.tgz(r-4.3-any)
TwoTimeScales_1.1.0.tar.gz(r-4.5-noble)TwoTimeScales_1.1.0.tar.gz(r-4.4-noble)
TwoTimeScales_1.1.0.tgz(r-4.4-emscripten)TwoTimeScales_1.1.0.tgz(r-4.3-emscripten)
TwoTimeScales.pdf |TwoTimeScales.html✨
TwoTimeScales/json (API)
NEWS
# 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 site:https://angelacar.github.io
- reccolon2ts - Data from the chemotherapy for stace B/C colon cancer study
Last updated 2 months agofrom:5555434bad. Checks:9 OK. Indexed: yes.
Target | Result | Latest binary |
---|---|---|
Doc / Vignettes | OK | Mar 05 2025 |
R-4.5-win | OK | Mar 05 2025 |
R-4.5-mac | OK | Mar 05 2025 |
R-4.5-linux | OK | Mar 05 2025 |
R-4.4-win | OK | Mar 05 2025 |
R-4.4-mac | OK | Mar 05 2025 |
R-4.4-linux | OK | Mar 05 2025 |
R-4.3-win | OK | Mar 05 2025 |
R-4.3-mac | OK | Mar 05 2025 |
Exports:covariates_plotcumhaz2tscuminc2tsexposures_events_1dexposures_events_2dexposures_events_Lexisfit1tsfit2tsget_hazard_1dget_hazard_1d_LMMget_hazard_2dget_hazard_2d_LMMget_hrhaz2ts_summaryhaz2tsLMM_summarymake_binspredict_cif2ts_pointwisepredict_comprisks2tspredict_haz2tspredict_haz2ts_pointwiseprepare_datasurv2ts
Dependencies:ashbitopsbootcliclustercmprskcolorspacedata.tabledotCall64dplyrEpietmfansifarverfdsfieldsFNNgenericsggplot2gluegridExtragtablehdrcdeisobandJOPSkernlabKernSmoothkslabelinglatticelifecycleLMMsolverlocfitmagrittrmapsMASSMatrixmclustmgcvmulticoolmunsellmvtnormnlmenumDerivpcaPPpillarpkgconfigplyrpopEpipracmaR6rainbowRColorBrewerRcppRcppArmadilloRCurlreshape2rlangrpartscalesSemiParspamSpATSstringistringrsurvivaltibbletidyselectucminfutf8vctrsviridisviridisLitewithrzoo
Introduction to TwoTimeScales
Rendered fromTwoTimeScales.Rmd
usingknitr::rmarkdown
on Mar 05 2025.Last update: 2024-12-18
Started: 2024-04-25
Smooth hazards with one time scale
Rendered fromonetime.Rmd
usingknitr::rmarkdown
on Mar 05 2025.Last update: 2024-12-18
Started: 2024-04-25
Smooth hazards with two time scales
Rendered fromtwotimes.Rmd
usingknitr::rmarkdown
on Mar 05 2025.Last update: 2024-12-18
Started: 2024-04-25
Visualize hazards with two time scales
Rendered fromvisualization.Rmd
usingknitr::rmarkdown
on Mar 05 2025.Last update: 2024-12-18
Started: 2024-04-25