Matrix_checks function

Remove any column values that average 0. Further to this, also remove phytoplankton groups from the F matrix if their diagnostic pigment isn’t present.

Remove any column values that average 0. Further to this, also remove phytoplankton groups from the F matrix if their diagnostic pigment isn’t present.

Matrix_checks(S, Fmat)

Arguments

  • S: Sample data matrix – a matrix of pigment samples
  • Fmat: Pigment to Chl a matrix

Returns

Named list with new S and Fmat matrices

Examples

MC <- Matrix_checks(Sm, Fm) Snew <- MC$Snew
  • Maintainer: Alexander Hayward
  • License: MIT + file LICENSE
  • Last published: 2024-11-14