To cite package ‘n4m’ in publications use:

Beurier G (2026). n4m: Portable Partial Least Squares and NIRS Engine. R package version 0.99.0, https://github.com/gbeurier/nirs4all-methods.

Corresponding BibTeX entry:

  @Manual{,
    title = {n4m: Portable Partial Least Squares and NIRS Engine},
    author = {Gregory Beurier},
    year = {2026},
    note = {R package version 0.99.0},
    url = {https://github.com/gbeurier/nirs4all-methods},
  }