To cite gam.hp in publications use:

Lai J (2024). “Evaluating the relative importance of predictors in Generalized Additive Models using the gam.hp R package.” Plant Diversity, 46(4):542-546. https://doi.org/10.1016/j.pld.2024.06.002.

Corresponding BibTeX entry:

  @Article{,
    title = {Evaluating the relative importance of predictors in
      Generalized Additive Models using the gam.hp R package.},
    author = {Jiangshan Lai},
    journal = {Plant Diversity},
    volume = {46(4):542-546},
    year = {2024},
    url = {https://doi.org/10.1016/j.pld.2024.06.002},
  }