make.link {stats} | R Documentation |
Create a Link for GLM Families
Description
This function is used with the family
functions in
glm()
.
Given the name of a link, it returns a link function, an inverse link
function, the derivative d\mu / d\eta
and a function
for domain checking.
Usage
make.link(link)
Arguments
link |
character; one of |
Value
A object of class "link-glm"
, a list with components
linkfun |
Link function |
linkinv |
Inverse link function |
mu.eta |
Derivative |
valideta |
|
name |
a name to be used for the link |
.
See Also
Examples
utils::str(make.link("logit"))
[Package stats version 4.4.1 Index]