Last chance! 50% off unlimited learning
Sale ends in
Coef(object, ...)
where object
is an object
of class rrvglm
(see rrvglm-class
).In this document, $M$ is the number of linear predictors and $n$ is the number of observations.
Coef.rrvglm
,
rrvglm
,
rrvglm-class
,
print.Coef.rrvglm
.# Rank-1 stereotype model of Anderson (1984)
data(pneumo)
n = nrow(pneumo)
pneumo = transform(pneumo, let=log(exposure.time), x1=runif(n), x2=runif(n))
fit = rrvglm(cbind(normal,mild,severe) ~ let + x1 + x2, multinomial, pneumo)
coef(fit, mat=TRUE)
Coef(fit)
print(Coef(fit), digits=3)
Run the code above in your browser using DataLab