enrichwith: Methods to Enrich R Objects with Extra Components
Version 0.0.4

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.

AuthorIoannis Kosmidis [aut, cre]
Date of publication2017-05-12 05:58:24 UTC
MaintainerIoannis Kosmidis <i.kosmidis@ucl.ac.uk>
LicenseGPL-2 | GPL-3
Version0.0.4
URL https://github.com/ikosmidis/enrichwith
Package repositoryView on CRAN
InstallationInstall the latest version of this package by entering the following in R:
install.packages("enrichwith")

Getting started

README.md
Bias reduction in generalized linear models using **enrichwith**
Enriching `glm` objects

Popular man pages

enrich: Generic method for enriching objects
enrich.lm: Enrich objects of class 'lm'
get_auxiliary_functions.lm: Function to compute/extract auxiliary functions from objects...
get_bias_function.glm: Function to compute/extract a function that returns the first...
get_bias_function.lm: Function to compute/extract a function that returns the first...
get_enrichment_options: Generic method for getting available options for the...
get_enrichment_options.link-glm: Available options for the enrichment objects of class...
See all...

All man pages Function index File listing

Man pages

coef.enriched_glm: Function to extract model coefficients from objects of class...
coef.enriched_lm: Function to extract model coefficients from objects of class...
create_enrichwith_skeleton: Create a enrichwith skeleton
endometrial: Histology grade and risk factors for 79 cases of endometrial...
enrich: Generic method for enriching objects
enriched_glm: Fitting generalized linear models and enriching the result
enrich.family: Enrich objects of class 'family'
enrich.glm: Enrich objects of class 'glm'
enrich.link-glm: Enrich objects of class 'link-glm'
enrich.lm: Enrich objects of class 'lm'
enrichwith: Methods to enrich list-like R objects with extra components
get_auxiliary_functions: Generic method for extracting or computing auxiliary...
get_auxiliary_functions.glm: Function to compute/extract auxiliary functions from objects...
get_auxiliary_functions.lm: Function to compute/extract auxiliary functions from objects...
get_bias_function: Generic method for extracting or computing a function that...
get_bias_function.glm: Function to compute/extract a function that returns the first...
get_bias_function.lm: Function to compute/extract a function that returns the first...
get_dmodel_function: Generic method for extracting or computing a dmodel function...
get_dmodel_function.glm: Function to compute/extract a 'dmodel' function
get_enrichment_options: Generic method for getting available options for the...
get_enrichment_options.family: Available options for the enrichment objects of class family
get_enrichment_options.glm: Available options for the enrichment objects of class 'glm'
get_enrichment_options.link-glm: Available options for the enrichment objects of class...
get_enrichment_options.lm: Available options for the enrichment objects of class 'lm'
get_information_function: Generic method for extracting or computing a function that...
get_information_function.glm: Function to compute/extract a function that returns the...
get_information_function.lm: Function to compute/extract a function that returns the...
get_pmodel_function: Generic method for extracting or computing a pmodel function...
get_pmodel_function.glm: Function to compute/extract a 'pmodel' function
get_qmodel_function: Generic method for extracting or computing a qmodel function...
get_qmodel_function.glm: Function to compute/extract a 'qmodel' function
get_score_function: Generic method for extracting or computing a function that...
get_score_function.glm: Function to compute/extract a function that returns the...
get_score_function.lm: Function to compute/extract a function that returns the...
get_simulate_function: Generic method for extracting or computing a simulate...
get_simulate_function.glm: Function to compute/extract a simulate function for response...
get_simulate_function.lm: Function to compute/extract a simulate function for response...

Functions

Files

inst
inst/CITATION
inst/templates
inst/templates/template_enrich.R
inst/templates/template_compute_component.R
inst/templates/template_get_enrichment_options.R
inst/doc
inst/doc/GLMs.html
inst/doc/GLMs.Rmd
inst/doc/bias.R
inst/doc/bias.html
inst/doc/bias.Rmd
inst/doc/GLMs.R
NAMESPACE
NEWS.md
data
data/endometrial.rda
R
R/enriched_glm.R
R/enrich.glm.R
R/enrich.family.R
R/data.R
R/methods.R
R/enrich.lm.R
R/create_enrichwith_skeleton.R
R/enrich.link-glm.R
R/enrich-package.R
vignettes
vignettes/GLMs.Rmd
vignettes/GLMs[exported].html
vignettes/bias.Rmd
vignettes/enrichwith.bib
README.md
MD5
build
build/vignette.rds
DESCRIPTION
man
man/get_enrichment_options.Rd
man/get_pmodel_function.glm.Rd
man/enrich.family.Rd
man/endometrial.Rd
man/coef.enriched_lm.Rd
man/enrich.Rd
man/get_qmodel_function.glm.Rd
man/get_simulate_function.lm.Rd
man/get_score_function.lm.Rd
man/get_auxiliary_functions.glm.Rd
man/get_information_function.glm.Rd
man/get_pmodel_function.Rd
man/enrichwith.Rd
man/enriched_glm.Rd
man/get_enrichment_options.link-glm.Rd
man/get_score_function.glm.Rd
man/enrich.link-glm.Rd
man/get_information_function.Rd
man/get_auxiliary_functions.lm.Rd
man/get_information_function.lm.Rd
man/get_dmodel_function.Rd
man/get_bias_function.lm.Rd
man/get_auxiliary_functions.Rd
man/get_enrichment_options.family.Rd
man/get_score_function.Rd
man/coef.enriched_glm.Rd
man/get_dmodel_function.glm.Rd
man/get_simulate_function.Rd
man/enrich.lm.Rd
man/create_enrichwith_skeleton.Rd
man/get_enrichment_options.glm.Rd
man/get_enrichment_options.lm.Rd
man/get_qmodel_function.Rd
man/enrich.glm.Rd
man/get_bias_function.glm.Rd
man/get_bias_function.Rd
man/get_simulate_function.glm.Rd
enrichwith documentation built on May 19, 2017, 10:40 a.m.

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.