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
make.link(link)
character; one of "logit"
,
"probit"
, "cauchit"
, "cloglog"
, "identity"
,
"log"
, "sqrt"
, "1/mu^2"
, "inverse"
.
A object of class "link-glm"
, a list with components
Link function function(mu)
Inverse link function function(eta)
Derivative function(eta)
function(eta)
{ TRUE
if
eta
is in the domain of linkinv
}.
a name to be used for the link
# NOT RUN {
utils::str(make.link("logit"))
# }
Run the code above in your browser using DataLab