
rrvglm
."vglm"
, directly.
Class "vlm"
, by class "vglm".Yee, T. W. and Wild, C. J. (1996) Vector generalized additive models. Journal of the Royal Statistical Society, Series B, Methodological, 58, 481--493.
rrvglm
,
lvplot.rrvglm
,
vglmff-class
.# Rank-1 stereotype model of Anderson (1984)
data(pneumo)
set.seed(111)
pneumo = transform(pneumo, let=log(exposure.time),
x1=runif(nrow(pneumo))) # x1 is some unrelated covariate
fit = rrvglm(cbind(normal, mild, severe) ~ let + x1,
multinomial, pneumo, Rank=1)
Coef(fit)
Run the code above in your browser using DataLab