Package: enrichwith Title: Methods to Enrich R Objects with Extra Components Version: 0.5.0 Authors@R: person("Ioannis", "Kosmidis", email = "ioannis.kosmidis@warwick.ac.uk", role = c("aut", "cre")) Description: Provides the "enrich()" method for augmenting list-like R objects with additional, model-specific components. Methods are currently available for objects of class "family", "link-glm", "lm", "glm", and "betareg". Enriched objects retain their original class and remain compatible with existing methods. For example, enriching a "glm" object produces an "enriched_glm" object that also inherits from "glm". In addition to the standard components, the "enriched_glm" object includes methods for simulation and functions to compute scores, observed and expected information matrices, first-order bias, and other model quantities such as densities, probabilities, and quantiles, which can be evaluated at use-supplied parameter values. The package also provides tools for generating customizable source code templates for the structured implementation of methods to compute new components and enrich arbitrary objects. Depends: R (>= 3.0.0) URL: https://github.com/ikosmidis/enrichwith BugReports: https://github.com/ikosmidis/enrichwith/issues License: GPL-3 Encoding: UTF-8 LazyData: true RoxygenNote: 7.3.3 Suggests: whisker, SuppDists, brglm, brglm2, ggplot2, MASS, knitr, rmarkdown, testthat, numDeriv Enhances: betareg, gnm, stats VignetteBuilder: knitr Repository: https://ikosmidis.r-universe.dev Date/Publication: 2026-04-29 15:53:15 UTC RemoteUrl: https://github.com/ikosmidis/enrichwith RemoteRef: HEAD RemoteSha: fdd0dbb467ada6b9cffdb0335e541eaf2b659bf0 NeedsCompilation: no Packaged: 2026-07-03 12:28:46 UTC; root Author: Ioannis Kosmidis [aut, cre] Maintainer: Ioannis Kosmidis