glmmTMB_1
glmmTMB_1.Rd
Model of class glmmTMB
Examples
if (FALSE) {
# \dontrun{
set.seed(123)
fish <- read.csv("https://stats.idre.ucla.edu/stat/data/fish.csv")
fish$nofish <- as.factor(fish$nofish)
fish$livebait <- as.factor(fish$livebait)
fish$camper <- as.factor(fish$camper)
fish$ID <- sample(1:4, nrow(fish), replace = TRUE)
glmmTMB(
count ~ child + camper + (1 | persons),
data = fish,
family = poisson()
)
# }
}