To cite package ‘gamm4’ in publications use:

Wood S, Scheipl F (2025). gamm4: Generalized Additive Mixed Models using 'mgcv' and 'lme4'. R package version 0.2-7, https://CRAN.R-project.org/package=gamm4.

Corresponding BibTeX entry:

  @Manual{,
    title = {gamm4: Generalized Additive Mixed Models using 'mgcv' and
      'lme4'},
    author = {Simon Wood and Fabian Scheipl},
    year = {2025},
    note = {R package version 0.2-7},
    url = {https://CRAN.R-project.org/package=gamm4},
  }