This method exhaustively checks every possible simplex that could be
formed from p points and returns the indices that generate the simplex
with the largest volume. This should indicate the endmembers based on the
theory of N-FINDR. It should only be used for testing purposes as it
is extremely slow for non-trivial datasets.
Intended to be called from nfindr.
nfindrBrute(data, p, ...)Data matrix to unmix.
Number of endmembers.
Extra unused parameters passed in from
nfindr.
The indices of the endmembers in the original dataset or
a data.frame holding indices and corresponding volume if volume = TRUE.