This function is used with the family functions in gamlss2(). 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. Note that make.link2() is slightly more flexible and also allows functions as arguments.
Usage
make.link2(link)
Arguments
link
A character string, see function make.link, or function.
Value
A list containing the following components:
linkfun
Link function function(mu).
linkinv
Inverse link function function(eta).
mu.eta
Derivative function(eta): \(d\mu/d\eta\).
valideta
Function function(eta) that returns TRUE if eta is in the domain of linkinv.
name
A character string representing the name of the link function.
See Also
make.link, gamlss2, gamlss2.family.
Examples
library("gamlss2")## character specificationutils::str(make.link2("logit"))