enrich.link-glm {enrichwith} | R Documentation |
Enrich objects of class link-glm
Description
Enrich objects of class link-glm
with
further derivatives of linkinv
with respect to eta
.
Usage
## S3 method for class ''link-glm''
enrich(object, with = "all", ...)
Arguments
object |
an object of class |
with |
a character vector with enrichment options for |
... |
extra arguments to be passed to the |
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
# Example
elogit <- enrich(make.link("logit"), with = "inverse link derivatives")
str(elogit)
elogit$d2mu.deta
elogit$d3mu.deta
[Package enrichwith version 0.3.1 Index]