This is the repository for the paper "Hierarchical Generalized Additive Models: an introduction with mgcv", now in review at PeerJ. This paper is currently submitted to PeerJ, and is available as a PeerJ preprint at https://peerj.com/preprints/27320/.
The most recent draft (not copy-edited) version is available in PDF here, and the code that can be used to generate all figures and outputs from this paper is available here.