Package: gcmrec
Type: Package
Version: 2.0.0
Date: 2026-08-31
Title: General Class of Models for Recurrent Event Data
Authors@R: c(
    person(given = "Dolors",
           family = "Pelegri-Siso",
           email = "dolors.pelegri@isglobal.org",
           role = c("aut", "cre"),
           comment = c(ORCID = "0000-0002-5993-3003")),
    person("Juan R.", "González", role = "aut",
           email = "juanr.gonzalez@isglobal.org"),
    person("Elizabeth H.", "Slate", role = "aut"),
    person("Edsel A.", "Peña", role = "aut"))
Description: Parameter estimation for the general class of semiparametric
    models for recurrent event data proposed by Peña and Hollander (2004,
    <ISBN:978-1-4020-7737-6>). The model incorporates an effective age
    function encoding the impact of interventions after each event
    occurrence, the effect of accumulating event occurrences, a link
    function for possibly time-dependent covariates, and optional gamma
    frailties to induce dependence among inter-event times. It also fits
    the extension for cancer relapses of González et al. (2005)
    <doi:10.1002/sim.2410>. Estimation is performed by profile likelihood,
    with an expectation-maximization algorithm for the frailty model, and
    the package provides descriptive, diagnostic and predictive tools for
    the fitted models.
Depends: R (>= 3.5.0)
Imports: Rcpp, survival, ggplot2, scales, rlang, stats, graphics,
        grDevices
LinkingTo: Rcpp, RcppArmadillo
Suggests: testthat (>= 3.0.0), knitr, rmarkdown, BiocStyle
VignetteBuilder: knitr
Config/testthat/edition: 3
License: GPL (>= 2)
URL: https://github.com/isglobal-brge/gcmrec
BugReports: https://github.com/isglobal-brge/gcmrec/issues
Encoding: UTF-8
LazyData: true
RoxygenNote: 7.3.3
NeedsCompilation: yes
Packaged: 2026-08-31 11:32:52 UTC; mailos
Author: Dolors Pelegri-Siso [aut, cre] (ORCID:
    <https://orcid.org/0000-0002-5993-3003>),
  Juan R. González [aut],
  Elizabeth H. Slate [aut],
  Edsel A. Peña [aut]
Maintainer: Dolors Pelegri-Siso <dolors.pelegri@isglobal.org>
Repository: CRAN
Date/Publication: 2026-09-12 14:10:22 UTC
