enrichwith (version 0.3.1)

get_enrichment_options: Generic method for getting available options for the enrichment of objects

Description

Generic method for getting available options for the enrichment of objects

Usage

get_enrichment_options(object, option, all_options)

Arguments

object

the object to be enriched

option

a character vector listing the options for enriching the object

all_options

if TRUE then output a data frame with the available enrichment options, their descriptions, the names of the components that each option results in, and the names of the corresponding compute functions.

Value

if all_options = TRUE then an object of class enrichment_options is returned, otherwise if option is specified the output is a character vector with the names of the functions that compute the enrichment components

Details

A check is being made whether the requested option is available. No check is being made on whether the functions that produce the components exist.

See Also

enrich.glm, enrich.family, enrich.link-glm, enrich.betareg