Skip to content

cifmodeling

Visualization and Polytomous Modeling of Survival and Competing Risks

v0.9.8 · Jun 30, 2026 · MIT + file LICENSE

Description

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

Downloads

CRAN

257

Last 30 days

16327th

677

Last 90 days

1.7K

Last year

Trend: +53% (30d vs prior 30d)

r2u CRAN

57

Last 30 days

151

Last 90 days

285

Last year

Trend: -9.5% (30d vs prior 30d)

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 8, 2026
ERROR r-devel-linux-x86_64-debian-gcc

whether package can be installed

install log ‘’ does not exist
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE May 11, 2026
WARNING 12 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE May 10, 2026
WARNING r-devel-linux-x86_64-debian-gcc

PDF version of manual

LaTeX errors when creating PDF version.
This typically indicates Rd problems.
LaTeX errors found:
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE May 2, 2026
ERROR 11 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 25, 2026
ERROR r-release-macos-x86_64

re-building of vignette outputs

Error(s) in re-building vignettes:
--- re-building ‘v1_overview.Rmd’ using rmarkdown
--- finished re-building ‘v1_overview.Rmd’

--- re-building ‘v2_polyreg.Rmd’ using rmarkdown
--- finished re-building ‘v2_polyreg.Rmd’

--- re-building ‘v3_formulas.
...[truncated]...
formation.Rmd’

--- re-building ‘v7_arguments.Rmd’ using rmarkdown
--- finished re-building ‘v7_arguments.Rmd’

SUMMARY: processing the following files failed:
  ‘v4_examples.Rmd’ ‘v5_gallery.Rmd’

Error: Vignette re-building failed.
Execution halted
NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 22, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is  5.9Mb
  sub-directories of 1Mb or more:
    doc    2.5Mb
    libs   2.5Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  5.8Mb
  sub-directories of 1Mb or more:
    doc    2.5Mb
    libs   2.4Mb
ERROR 11 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 18, 2026
ERROR r-devel-windows-x86_64

whether package can be installed

Installation failed.
See 'd:/Rcompile/CRANpkg/local/4.6/cifmodeling.Rcheck/00install.out' for details.
NOTE r-oldrel-macos-arm64

installed package size

installed size is  5.9Mb
  sub-directories of 1Mb or more:
    doc    2.5Mb
    libs   2.5Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  5.8Mb
  sub-directories of 1Mb or more:
    doc    2.5Mb
    libs   2.4Mb
NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is  5.9Mb
  sub-directories of 1Mb or more:
    doc    2.5Mb
    libs   2.5Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  5.8Mb
  sub-directories of 1Mb or more:
    doc    2.5Mb
    libs   2.4Mb

Dependency Network

Dependencies Reverse dependencies Rcpp nleqslv boot ggsurvfit ggplot2 patchwork scales generics lifecycle cifmodeling

Version History

4 tracked
new 0.9.8 Mar 10, 2026
updated 0.9.8 ← 0.9.6 diff Jan 9, 2026
updated 0.9.6 ← 0.9.4 diff Dec 12, 2025
new 0.9.4 Dec 3, 2025