To cite package ‘matrixStats’ in publications use:

Bengtsson H (2025). matrixStats: Functions that Apply to Rows and Columns of Matrices (and to Vectors). R package version 1.5.0-9000, https://github.com/henrikbengtsson/matrixstats.

Corresponding BibTeX entry:

  @Manual{,
    title = {matrixStats: Functions that Apply to Rows and Columns of
      Matrices (and to Vectors)},
    author = {Henrik Bengtsson},
    year = {2025},
    note = {R package version 1.5.0-9000},
    url = {https://github.com/henrikbengtsson/matrixstats},
  }