Matrix_checks {phytoclass} | R Documentation |
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)
S |
Sample data matrix – a matrix of pigment samples |
Fmat |
Pigment to Chl a matrix |
Named list with new S and Fmat matrices
MC <- Matrix_checks(Sm, Fm)
Snew <- MC$Snew