Package: cifmodeling
Title: Visualization and Polytomous Modeling of Survival and Competing
        Risks
Version: 1.0.0
Authors@R: c(person("Shiro", "Tanaka", , "gestimation@gmail.com", role = c("aut", "cre", "cph"), comment = c(ORCID = "0000-0001-6817-5235")), person("Shigetaka", "Kobari", role = "ctb"), person("Chisato", "Honda", role = "ctb"))
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'.
License: MIT + file LICENSE
Encoding: UTF-8
RoxygenNote: 7.3.3
RdMacros: lifecycle
Config/Needs/website: lifecycle
Depends: R (>= 4.1.0)
Suggests: survival, mets, numDeriv, modelsummary, gtsummary,
        DiagrammeR, knitr, rmarkdown, testthat (>= 3.0.0), pkgdown
Config/testthat/edition: 3
LinkingTo: Rcpp
Imports: Rcpp, nleqslv, boot, ggsurvfit, ggplot2, patchwork, scales,
        generics, lifecycle
VignetteBuilder: knitr
URL: https://gestimation.github.io/cifmodeling/,
        https://github.com/gestimation/cifmodeling
BugReports: https://github.com/gestimation/cifmodeling/issues
NeedsCompilation: yes
Packaged: 2026-06-22 01:29:42 UTC; Shiro
Author: Shiro Tanaka [aut, cre, cph] (ORCID:
    <https://orcid.org/0000-0001-6817-5235>),
  Shigetaka Kobari [ctb],
  Chisato Honda [ctb]
Maintainer: Shiro Tanaka <gestimation@gmail.com>
Repository: CRAN
Date/Publication: 2026-06-30 08:00:02 UTC
Built: R 4.7.0; x86_64-w64-mingw32; 2026-07-27 04:39:39 UTC; windows
Archs: x64
