Package: gcemod
Type: Package
Title: Generalized Competing Event Models with Lunn-McNeil Testing
Version: 0.3.0
Date: 2026-08-06
Authors@R: 
    person("Loren", "Mell", email = "lmell@ucsd.edu", role = c("aut", "cre"))
Description: Tools for fitting generalized competing event (GCE) models
        and estimating covariate effects on omega-plus, the ratio of
        the hazard for an event of interest to the hazard for a
        competing event, on both the cause-specific (Cox) and
        subdistribution (Fine-Gray) hazard scales. Confidence intervals
        and p-values are obtained from the Lunn-McNeil (1995) stacked
        (augmented) data approach. The package builds GCE risk scores
        from the model linear predictor, identifies risk-score
        cutpoints that maximize the separation in omega-plus between
        groups, and produces cumulative incidence ("alligator") plots
        by risk group and calibration plots of predicted versus
        observed omega-plus. Methods follow Carmona et al. (2014)
        <doi:10.1016/j.ijrobp.2014.03.047>, Mell et al. (2024)
        <doi:10.1016/j.eururo.2023.01.020>, and Lunn and McNeil (1995)
        <doi:10.2307/2532940>.
License: GPL (>= 2)
Encoding: UTF-8
LazyData: true
Depends: R (>= 3.5.0)
Imports: survival, cmprsk, ggplot2 (>= 3.5.2), patchwork, stats
Suggests: testthat (>= 3.0.0), knitr, rmarkdown
VignetteBuilder: knitr
Config/testthat/edition: 3
Config/roxygen2/version: 8.0.0
Repository: https://lmell-source.r-universe.dev
Date/Publication: 2026-09-14 18:59:22 UTC
RemoteUrl: https://github.com/lmell-source/gcemod
RemoteRef: HEAD
RemoteSha: 9423c5d56d75702cc14147fc6f3e71d004ec0ac1
NeedsCompilation: no
Packaged: 2026-09-25 09:54:22 UTC; root
Author: Loren Mell [aut, cre]
Maintainer: Loren Mell <lmell@ucsd.edu>
