Learn R Programming

phytoclass (version 2.3.1)

Matrix_checks: 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.

Description

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.

Usage

Matrix_checks(S, Fmat)

Value

Named list with new S and Fmat matrices

Arguments

S

Sample data matrix – a matrix of pigment samples

Fmat

Pigment to Chl a matrix

Examples

Run this code
MC <- Matrix_checks(Sm, Fm)  
Snew <- MC$Snew

Run the code above in your browser using DataLab