Coef.rrvglm | R Documentation |
This methods function returns important matrices etc. of a RR-VGLM object.
Coef.rrvglm(object, ...)
object |
An object of class |
... |
Currently unused. |
The A, B1, C matrices are returned,
along with other slots.
See rrvglm
for details about RR-VGLMs.
An object of class "Coef.rrvglm"
(see Coef.rrvglm-class
).
This function is an alternative to coef.rrvglm
.
Thomas W. Yee
Yee, T. W. and Hastie, T. J. (2003). Reduced-rank vector generalized linear models. Statistical Modelling, 3, 15–41.
Coef.rrvglm-class
,
print.Coef.rrvglm
,
rrvglm
.
# Rank-1 stereotype model of Anderson (1984)
pneumo <- transform(pneumo, let = log(exposure.time), x3 = runif(nrow(pneumo)))
fit <- rrvglm(cbind(normal, mild, severe) ~ let + x3, multinomial, data = pneumo)
coef(fit, matrix = TRUE)
Coef(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.