Package: casebase 0.10.6
casebase: Fitting Flexible Smooth-in-Time Hazards and Risk Functions via Logistic and Multinomial Regression
Fit flexible and fully parametric hazard regression models to survival data with single event type or multiple competing causes via logistic and multinomial regression. Our formulation allows for arbitrary functional forms of time and its interactions with other predictors for time-dependent hazards and hazard ratios. From the fitted hazard model, we provide functions to readily calculate and plot cumulative incidence and survival curves for a given covariate profile. This approach accommodates any log-linear hazard function of prognostic time, treatment, and covariates, and readily allows for non-proportionality. We also provide a plot method for visualizing incidence density via population time plots. Based on the case-base sampling approach of Hanley and Miettinen (2009) <doi:10.2202/1557-4679.1125>, Saarela and Arjas (2015) <doi:10.1111/sjos.12125>, and Saarela (2015) <doi:10.1007/s10985-015-9352-x>.
Authors:
casebase_0.10.6.tar.gz
casebase_0.10.6.zip(r-4.7)casebase_0.10.6.zip(r-4.6)casebase_0.10.6.zip(r-4.5)
casebase_0.10.6.tgz(r-4.6-any)casebase_0.10.6.tgz(r-4.5-any)
casebase_0.10.6.tar.gz(r-4.7-any)casebase_0.10.6.tar.gz(r-4.6-any)
casebase_0.10.6.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
casebase/json (API)
NEWS
| # Install 'casebase' in R: |
| install.packages('casebase', repos = c('https://sahirbhatnagar.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/sahirbhatnagar/casebase/issues
Pkgdown/docs site:https://sahirbhatnagar.com
- bmtcrr - Data on transplant patients
- brcancer - German Breast Cancer Study Group 2
- eprchd - Estrogen plus Progestin and the Risk of Coronary Heart Disease
- ERSPC - Data on the men in the European Randomized Study of Prostate Cancer Screening
- simdat - Simulated data under Weibull model with Time-Dependent Treatment Effect
- support - Study to Understand Prognoses Preferences Outcomes and Risks of Treatment
competing-riskscox-regressionregression-modelssurvival-analysis
Last updated from:cbeba938cf. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 219 | ||
| source / vignettes | OK | 245 | ||
| linux-release-x86_64 | OK | 185 | ||
| macos-release-arm64 | OK | 128 | ||
| macos-oldrel-arm64 | OK | 178 | ||
| windows-devel | OK | 168 | ||
| windows-release | OK | 162 | ||
| windows-oldrel | OK | 147 | ||
| wasm-release | OK | 107 |
Exports:absoluteRiskabsoluteRisk.CompRiskcheckArgsEventIndicatorcheckArgsTimeEventfitSmoothHazardfitSmoothHazard.fithazardPlotpopTimeprepareXsampleCaseBasesummary
Dependencies:clicpp11data.tablefarverggplot2gluegtableisobandlabelinglatticelifecycleMatrixmgcvnlmeR6RColorBrewerrlangS7scalessurvivalvctrsVGAMviridisLitewithr
Competing risk analysis
Rendered fromcompetingRisk.Rmdusingknitr::rmarkdownon May 27 2026.Last update: 2021-02-06
Started: 2016-02-27
Customizing Population Time Plots
Rendered fromcustomizingpopTime.Rmdusingknitr::rmarkdownon May 27 2026.Last update: 2020-07-03
Started: 2020-03-03
Introduction to casebase sampling
Rendered fromsmoothHazard.Rmdusingknitr::rmarkdownon May 27 2026.Last update: 2021-02-06
Started: 2016-01-06
Plot Cumulative Incidence and Survival Curves
Rendered fromplotabsRisk.Rmdusingknitr::rmarkdownon May 27 2026.Last update: 2020-06-30
Started: 2020-06-29
Plot Hazards and Hazard Ratios
Rendered fromplotsmoothHazard.Rmdusingknitr::rmarkdownon May 27 2026.Last update: 2024-02-01
Started: 2020-06-19
Population Time Plots
Rendered frompopTime.Rmdusingknitr::rmarkdownon May 27 2026.Last update: 2021-10-19
Started: 2016-03-02
Time-Varying Covariates
Rendered fromtime-varying-covariates.Rmdusingknitr::rmarkdownon May 27 2026.Last update: 2023-08-03
Started: 2023-08-03
