enrichwith: Methods to Enrich R Objects with Extra Components

Provides the "enrich" method to enrich list-like R objects with new, relevant components. The current version has methods for enriching objects of class 'family', 'link-glm', 'lm', 'glm' and 'betareg'. The resulting objects preserve their class, so all methods associated with them still apply. The package also provides the 'enriched_glm' function that has the same interface as 'glm' but results in objects of class 'enriched_glm'. In addition to the usual components in a ‘glm' object, ’enriched_glm' objects carry an object-specific simulate method and functions to compute the scores, the observed and expected information matrix, the first-order bias, as well as model densities, probabilities, and quantiles at arbitrary parameter values. The package can also be used to produce customizable source code templates for the structured implementation of methods to compute new components and enrich arbitrary objects.

Version: 0.3.1
Depends: R (≥ 3.0.0)
Suggests: whisker, SuppDists, brglm, ggplot2, knitr, rmarkdown
Enhances: betareg, gnm, stats
Published: 2020-01-10
Author: Ioannis Kosmidis [aut, cre]
Maintainer: Ioannis Kosmidis <ioannis.kosmidis at warwick.ac.uk>
BugReports: https://github.com/ikosmidis/enrichwith/issues
License: GPL-2 | GPL-3
URL: https://github.com/ikosmidis/enrichwith
NeedsCompilation: no
Citation: enrichwith citation info
Materials: README NEWS
CRAN checks: enrichwith results

Documentation:

Reference manual: enrichwith.pdf
Vignettes: enriching glm objects
Bias reduction in generalized linear models using enrichwith
enriching family objects

Downloads:

Package source: enrichwith_0.3.1.tar.gz
Windows binaries: r-devel: enrichwith_0.3.1.zip, r-release: enrichwith_0.3.1.zip, r-oldrel: enrichwith_0.3.1.zip
macOS binaries: r-release (arm64): enrichwith_0.3.1.tgz, r-oldrel (arm64): enrichwith_0.3.1.tgz, r-release (x86_64): enrichwith_0.3.1.tgz, r-oldrel (x86_64): enrichwith_0.3.1.tgz
Old sources: enrichwith archive

Reverse dependencies:

Reverse depends: mbrglm
Reverse imports: brglm2

Linking:

Please use the canonical form https://CRAN.R-project.org/package=enrichwith to link to this page.