Apply the link function or its inverse to the argument.
link(x, link = "log", inv = FALSE)
vector containing the predictor
string with the name of the link function
if TRUE
its inverse is applied
Evaluated link function at x
values.
This function is intended to port other link functions than \(\log{\left(\right)}\) to Poisson-Gamma Additive Models. For now, the only allowed value is "log"
.
Harvey, A. C., Fernandes, C. (1989) Time series models for count data or qualitative observations. Journal of Business and Economic Statistics, 7(4):407--417
McCullagh, P., Nelder, J. A. (1989). Generalized Linear Models. Chapman and Hall, 2nd edition, London