glm.inverse.link {gplm}R Documentation

Link function for GLM

Description

Defines the link function for a GLM.

Usage

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

Arguments

mu

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 eta (predictors)

Author(s)

Marlene Mueller

See Also

glm.ll, glm.lld, glm.link

Examples

  glm.inverse.link(c(0.25,0.5), family="bernoulli", link="logit")

[Package gplm version 0.7-4 Index]