To cite package ‘grec’ in publications use:

Lau-Medrano W (2026). grec: Gradient-Based Recognition of Spatial Patterns in Environmental Data. R package version 1.6.4, https://github.com/luislaum/grec.

Corresponding BibTeX entry:

  @Manual{,
    title = {grec: Gradient-Based Recognition of Spatial Patterns in
      Environmental Data},
    author = {Wencheng Lau-Medrano},
    year = {2026},
    note = {R package version 1.6.4},
    url = {https://github.com/luislaum/grec},
  }