This help topic is for R version 2.9.0. For the current version of R, try https://stat.ethz.ch/R-manual/R-patched/library/stats/html/make.link.html
make.link {stats}R Documentation

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 "logit", "probit", "cauchit", "cloglog", "identity", "log", "sqrt", "1/mu^2", "inverse".

Value

A object of class "link-glm", a list with components

linkfun

Link function function(mu)

linkinv

Inverse link function function(eta)

mu.eta

Derivative function(eta) d\mu / d\eta

valideta

function(eta){ TRUE if eta is in the domain of linkinv }.

name

a name to be used for the link

.

See Also

power, glm, family.

Examples

utils::str(make.link("logit"))

[Package stats version 2.9.0 ]