# NOT RUN {
data(simdat)
# }
# NOT RUN {
# Model with random effect and interactions:
m1 <- bam(Y ~ Group+te(Time, Trial, by=Group),
data=simdat)
summary(m1)
gamtabs(m1, caption='Summary of m1')
# }
# NOT RUN {
# See for more examples:
vignette('inspect', package='itsadug')
# }
Run the code above in your browser using DataLab