| linkfun {VGAM} | R Documentation |
Generic function for returning the link functions of a fitted object.
linkfun(object, ...)
object |
An object which has parameter link functions. |
... |
Other arguments fed into the specific methods function of the model. |
Fitted models in the VGAM have parameter link functions. This generic function returns these.
The value returned depends specifically on the methods function invoked.
Thomas W. Yee
linkfun.vglm,
multilogit,
vglm.
pneumo <- transform(pneumo, let = log(exposure.time)) fit1 <- vglm(cbind(normal, mild, severe) ~ let, propodds, data = pneumo) coef(fit1, matrix = TRUE) linkfun(fit1) linkfun(fit1, earg = TRUE) fit2 <- vglm(cbind(normal, mild, severe) ~ let, multinomial, data = pneumo) coef(fit2, matrix = TRUE) linkfun(fit2) linkfun(fit2, earg = TRUE)