Hierarchical generalized additive models in ecology: an introduction with mgcv. #rstats