N <- 1000; mdata <- data.frame(y1 = rexp(N), y2 = rexp(N))
plot(ymat)
fit <- vglm(cbind(y1, y2) ~ 1, morgenstern, data = mdata, trace = TRUE)
# This may fail:
fit <- vglm(cbind(y1, y2) ~ 1, morgenstern, data = mdata, trace = TRUE, crit = "coef")
coef(fit, matrix = TRUE)
Coef(fit)
head(fitted(fit))
Run the code above in your browser using DataLab