make.link

0th

Percentile

Create a Link for GLM Families

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.

Keywords
models
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
  • linkfunLink function function(mu)
  • linkinvInverse link function function(eta)
  • mu.etaDerivative function(eta) $d\mu / d\eta$
  • validetafunction(eta){ TRUE if eta is in the domain of linkinv }.
  • namea name to be used for the link
  • .

See Also

power, glm, family.

Aliases
  • make.link
Examples
library(stats) utils::str(make.link("logit"))
Documentation reproduced from package stats, version 3.3, License: Part of R 3.3

Community examples

Looks like there are no examples yet.