Methods to Enrich R Objects with Extra Components
Overview
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.
Install
Health
- OK13 OK2026-10-03
- NOTE11 OK, 2 NOTE2026-09-12
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 47includes a package overview page
- Examples that run
- 18%2 run in a plain check · 9 never run
- Exported functions with examples
- 17%
- Documented parameters
- 100%
- Return-value docs
- 25%
- Help pages citing references
- 2%
Downloads
Repository
- PRs merged (all time)
- 0%
- Median days to close, 50 most recently updated closed issues
- 1,116
- Median days to close, 50 most recently updated closed PRs
- 25
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
3 development-tooling and community-health practices detected across 2 families in the upstream repository
Checks run against github.com/ikosmidis/enrichwith on 2026-10-21.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
Dependencies
Installing enrichwith adds no packages beyond those that come with R.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- 0.6Latest
- 0.5.02026-04-29 · diff ↗
- RR 4.6.0 released · 2026-04-24
- 0.4.02025-09-08 · diff ↗
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- 0.3.12020-01-10 · diff ↗
- 0.32019-10-14 · diff ↗
- RR 3.6.0 released · 2019-04-26
- 0.22019-01-11 · diff ↗
- 0.1.12018-05-04 · diff ↗
- RR 3.5.0 released · 2018-04-23
Show 8 earlier eventsHide 8 earlier events
- 0.12017-11-06 · diff ↗
- 0.0.5
- 0.0.42017-05-12 · diff ↗ ·
added 4 exports
enriched_glm, get_dmodel_function, get_pmodel_function, get_qmodel_function - RR 3.4.0 released · 2017-04-21
- 0.0.32017-03-07 · diff ↗ ·
added 5 exports
get_auxiliary_functions, get_bias_function, get_information_function, get_score_function, get_simulate_function - 0.0.22016-09-03 · diff ↗
- 0.0.12016-08-08
- RR 3.3.0 released · 2016-05-03
Package metadata
- First published
- 2016-08-08
- Total releases
- 13 / 10 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 3.0.0
- Bundled data
- 0.6 KB / 1 file
- Download size
- 103 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("enrichwith")The package provides a citation file that builds its entry when R runs it. Run citation() to see it.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.