Question: what is mgcv package in r?
Answer: mgcv, gamm4. ► mgcv is a package supplied with R for generalized additive. modelling, including generalized additive mixed models. ► The main GAM fitting routine is gam. ► bam provides an alternative for very large datasets.