Provides the "enrich" method to enrich listlike R objects with new, relevant components. The current version has methods for enriching objects of class 'family', 'linkglm', '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 objectspecific simulate method and functions to compute the scores, the observed and expected information matrix, the firstorder 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.
Package details 


Author  Ioannis Kosmidis [aut, cre] 
Maintainer  Ioannis Kosmidis <ioannis.kosmidis@warwick.ac.uk> 
License  GPL2  GPL3 
Version  0.3.1 
URL  https://github.com/ikosmidis/enrichwith 
Package repository  View on CRAN 
Installation 
Install the latest version of this package by entering the following in R:

Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.