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' and 'glm'. 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.

Maintainer: Ioannis Kosmidis <i.kosmidis at ucl.ac.uk>

Author(s): Ioannis Kosmidis*

Install package and any missing dependencies by running this line in your R console:

install.packages("enrichwith")

Depends R (>= 3.0.0)
Imports
Suggests whisker, SuppDists, brglm, ggplot2, knitr, rmarkdown
Enhances
Linking to
Reverse
depends
mbrglm
Reverse
imports
brglm2
Reverse
suggests
Reverse
enhances
Reverse
linking to

Package enrichwith
Materials
URL https://github.com/ikosmidis/enrichwith
Task Views
Version 0.0.4
Published 2017-05-12
License GPL-2 | GPL-3
BugReports
SystemRequirements
NeedsCompilation no
Citation
CRAN checks enrichwith check results
Package source enrichwith_0.0.4.tar.gz