## Not run:
# shape <- exp(1); rate <- exp(2)
# rdata <- data.frame(y = rexppois(n = 1000, rate = rate, shape = shape))
# library("hypergeo") # Required!
# fit <- vglm(y ~ 1, exppoisson, data = rdata, trace = FALSE, maxit = 1200)
# c(with(rdata, median(y)), head(fitted(fit), 1))
# coef(fit, matrix = TRUE)
# Coef(fit)
# summary(fit)
# ## End(Not run)
Run the code above in your browser using DataLab