make.link
Create a Link for GLM Families
Description
This function create the link, inverse link, derivative and validity functions used in GLM families.
Usage
make.link(link)
Arguments
| link | 
character string specifiying the link function,  
"logit", "probit", "cauchit", "cloglog",  
"identity", "log", "sqrt", "1/mu^2" or "inverse". 
 | 
 
Value
an object of class "link-glm" with following components:
| linkfun | 
link function with argument mu that transforms
from the scale of the mean to the scale of the linear
or additive predictor eta. 
 | 
| linkinv | 
function with argument eta that defines
the inverse of the link.
 | 
| mu.eta | 
function with argument eta that defines
the derivative of the linkinv function.
 | 
| valideta | 
logical function with argument eta that indicates the validity 
of eta in linkinv.
 | 
| name | 
argument of link name.
 | 
 
See Also
Examples
make.link("logit")
make.link("1/mu^2")
make.link(3)   # same as make.link("cauchit")
make.link(10) # Error: "10" link not recognised