# \donttest{
requireNamespace("betareg", quietly = TRUE)
library(betareg)# for dataset example
data("GasolineYield", package = "betareg")
# basic model
out1 = micobinreg(yield ~ temp, data = GasolineYield,
nsave = 2000, link = "cobit")
summary(out1$post_save)
plot(out1$post_save)
# random intercept model
out2 = micobinreg(yield ~ temp + (1 | batch), data = GasolineYield,
nsave = 2000, link = "cobit")
summary(out2$post_save)
plot(out2$post_save)
# }
Run the code above in your browser using DataLab