enrich.link-glm: Enrich objects of class 'link-glm'

Description Usage Arguments Details Value Examples

Description

Enrich objects of class link-glm with further derivatives of linkinv with respect to eta.

Usage

1
2
## S3 method for class ''link-glm''
enrich(object, with = "all", ...)

Arguments

object

an object of class link-glm

with

a character vector with enrichment options for object

...

extra arguments to be passed to the compute_* functions

Details

The enrich.link-glm method supports logit, probit, cauchit, cloglog, identity, log, sqrt, 1/mu^2, inverse, as well as the power family of links.

Value

The object object of class link-glm with extra components. get_enrichment_options.link-glm() returns the components and their descriptions.

Examples

1
2
3
4
5
# Example
elogit <- enrich(make.link("logit"), with = "inverse link derivatives")
str(elogit)
elogit$d2mu.deta
elogit$d3mu.deta

enrichwith documentation built on Jan. 11, 2020, 9:21 a.m.