The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

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-event 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'.

Version: 0.9.4
Depends: R (≥ 4.1.0)
Imports: Rcpp, nleqslv, boot, ggsurvfit, ggplot2, patchwork, scales, generics, lifecycle
LinkingTo: Rcpp
Suggests: survival, mets, modelsummary, gtsummary, knitr, rmarkdown, testthat (≥ 3.0.0), pkgdown
Published: 2025-12-04
DOI: 10.32614/CRAN.package.cifmodeling (may not be active yet)
Author: Shiro Tanaka ORCID iD [aut, cre, cph], Shigetaka Kobari [ctb], Chisato Honda [ctb]
Maintainer: Shiro Tanaka <gestimation at gmail.com>
BugReports: https://github.com/gestimation/cifmodeling/issues
License: MIT + file LICENSE
URL: https://gestimation.github.io/cifmodeling/, https://github.com/gestimation/cifmodeling
NeedsCompilation: yes
Materials: README, NEWS
CRAN checks: cifmodeling results

Documentation:

Reference manual: cifmodeling.html , cifmodeling.pdf
Vignettes: Full lists of arguments (source)
Examples (source, R code)
Computational formulas in cifcurve() (source)
Gallery (source, R code)
Additional information (source, R code)
Overview (source, R code)
Direct polytomous regression (source)

Downloads:

Package source: cifmodeling_0.9.4.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): cifmodeling_0.9.4.tgz, r-oldrel (arm64): cifmodeling_0.9.4.tgz, r-release (x86_64): not available, r-oldrel (x86_64): not available

Linking:

Please use the canonical form https://CRAN.R-project.org/package=cifmodeling to link to this page.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.