Steepest_Desc {phytoclass} | R Documentation |
Stand-alone version of steepest descent algorithm. This is similar to the CHEMTAX steepest descent algorithm. It is not required to use this function, and as results are not bound by minimum and maximum, results may be unrealistic.
Steepest_Desc(Fmat, S, num.loops)
Fmat |
Pigment to Chl a matrix |
S |
Sample data matrix – a matrix of pigment samples |
num.loops |
Number of loops/iterations to perform (no default) |
A list containing
The F matrix (pigment: Chl a) ratios
RMSE (Root Mean Square Error)
Condition number
class abundances
Figure (plot of results)
MAE (Mean Absolute Error)
MC <- Matrix_checks(Sm,Fm)
Snew <- MC$Snew
Fnew <- MC$Fnew
SDRes <- Steepest_Desc(Fnew,Snew, num.loops = 20)