Package: wnpmle Title: Weighted NPMLE for Recurrent Events with a Competing Terminal Event Version: 0.1.3 Authors@R: person("Anna", "Bellach", email = "abellach.biostat@gmail.com", role = c("aut", "cre")) Description: Provides regression modeling and prediction for the marginal mean of recurrent events in the presence of a competing terminal event using the weighted nonparametric maximum likelihood estimator (wNPMLE) of Bellach and Kosorok (2026) . Two classes of transformation models are implemented: Box-Cox transformation models and logarithmic transformation models. These extend the proportional means model of Ghosh and Lin (2002) and the transformation model framework of Zeng and Lin (2006) . Parameter estimation is performed using automatic differentiation through the Template Model Builder (TMB) framework. Standard errors are computed using sandwich variance estimators that account for estimation of the inverse-probability censoring weights following Bellach, Kosorok, Rüschendorf and Fine (2019) . License: GPL (>= 3) Encoding: UTF-8 Roxygen: list(markdown = TRUE) RoxygenNote: 7.3.3 Depends: R (>= 4.1.0) Imports: TMB (>= 1.9.0), survival, methods, MASS, graphics, grDevices, tools, utils Suggests: testthat (>= 3.0.0), knitr, rmarkdown Config/testthat/edition: 3 VignetteBuilder: knitr URL: https://github.com/abellach/wnpmle BugReports: https://github.com/abellach/wnpmle/issues Author: Anna Bellach [aut, cre] Maintainer: Anna Bellach Repository: https://abellach.r-universe.dev Date/Publication: 2026-10-18 03:23:32 UTC RemoteUrl: https://github.com/abellach/wnpmle RemoteRef: HEAD RemoteSha: 8aa5a44aefbe9e8272f32f6b24dc14c99676bc30 NeedsCompilation: no Packaged: 2026-10-18 06:25:18 UTC; root