Package: cifmodeling 1.0.0
cifmodeling: Visualization and Polytomous Modeling of Survival and Competing Risks
A publication-ready toolkit for modern survival and competing risks analysis with a minimal, formula-based interface. Both nonparametric estimation and direct polytomous regression of cumulative incidence functions (CIFs) are supported. The main functions 'cifcurve()', 'cifplot()', and 'cifpanel()' estimate survival and CIF curves and produce high-quality graphics with risk tables, censoring and competing-risk marks, and multi-panel or inset layouts built on 'ggplot2' and 'ggsurvfit'. The modeling function 'polyreg()' performs direct polytomous regression for coherent joint modeling of all cause-specific CIFs to estimate risk ratios, odds ratios, or subdistribution hazard ratios at user-specified time points. All core functions adopt a formula-and-data syntax and return tidy and extensible outputs that integrate smoothly with 'modelsummary', 'broom', and the broader 'tidyverse' ecosystem. Key numerical routines are implemented in C++ via 'Rcpp'.
Authors:
cifmodeling_1.0.0.tar.gz
cifmodeling_1.0.0.tar.gz(r-4.7-arm64)cifmodeling_1.0.0.tar.gz(r-4.7-x86_64)cifmodeling_1.0.0.tar.gz(r-4.6-arm64)cifmodeling_1.0.0.tar.gz(r-4.6-x86_64)
cifmodeling_1.0.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
cifmodeling/json (API)
| # Install 'cifmodeling' in R: |
| install.packages('cifmodeling', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/gestimation/cifmodeling/issues
Pkgdown/docs site:https://gestimation.github.io
- diabetes.complications - Data from a cohort study of patients with type 2 diabetes
- prostate - Data from a prostate cancer trial in Byer & Green
Last updated from:29d9f3439d. Checks:6 OK. Indexed: no.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 235 | ||
| linux-devel-x86_64 | OK | 293 | ||
| source / vignettes | OK | 377 | ||
| linux-release-arm64 | OK | 251 | ||
| linux-release-x86_64 | OK | 258 | ||
| wasm-release | OK | 197 |
Exports:cifcurvecifflowchartcifpanelcifploteffect_label.polyregEventextract_time_to_eventpolyreg
Dependencies:backportsbootbroomclicpp11dplyrfarvergenericsggplot2ggsurvfitgluegtableisobandlabelinglatticelifecyclemagrittrMatrixnleqslvpatchworkpillarpkgconfigpurrrR6RColorBrewerRcpprlangS7scalesstringistringrsurvivaltibbletidyrtidyselectutf8vctrsviridisLitewithr
Last update: 2026-06-30
Started: 2025-12-13
Last update: 2026-06-30
Started: 2025-12-13
Last update: 2026-06-30
Started: 2025-12-13
Last update: 2025-12-13
Started: 2025-12-13
Last update: 2025-12-13
Started: 2025-12-13
Last update: 2025-12-13
Started: 2025-12-13
Last update: 2025-12-13
Started: 2025-12-13
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Calculate the Kaplan-Meier estimator and the Aalen-Johansen estimator | cifcurve |
| Create a flowchart of exclusions, treatment groups, and outcome status | cifflowchart |
| Arrange multiple survival and CIF plots in a panel display | cifpanel |
| Generate a survival/CIF curve with marks that represent censoring, competing risks and intercurrent events | cifplot |
| Data from a cohort study of patients with type 2 diabetes | diabetes.complications |
| Create a survival or competing-risks response | Event |
| Extract per-stratum event times from a formula and data | extract_time_to_event |
| Fit coherent regression models of CIFs using polytomous log odds products | polyreg |
| Methods for polyreg objects | augment.polyreg coef.polyreg effect_label.polyreg glance.polyreg nobs.polyreg polyreg-methods print.summary.polyreg summary.polyreg tidy.polyreg vcov.polyreg |
| Data from a prostate cancer trial in Byer & Green (1980) | prostate |
