glm.link {gplm}R Documentation

(Inverse) Link function for GLM

Description

Defines the inverse link function for a GLM.

Usage

glm.link(eta, family="gaussian", link="identity", k=1)

Arguments

eta

n x 1, linear predictors

family

text string, family of distributions (e.g. "gaussian" or "bernoulli", see details for glm.ll)

link

text string, link function (depending on family, see details for glm.ll)

k

integer > 0, parameter for the negative binomial

Value

n x 1, vector mu (responses)

Author(s)

Marlene Mueller

See Also

glm.ll, glm.lld, glm.inverse.link

Examples

  glm.link(c(-1,2), family="bernoulli", link="logit")

[Package gplm version 0.7-4 Index]