Retrieves the endmembers from a dataset using the model returned by nfindr or vca.

endmembers(object)

Arguments

object

The N-FINDR/VCA structure returned by the general nfindr or vca interface.

Value

A matrix where each row is an endmember as calculated by the unmixing algorithm.

Warning

If dimension reduction was performed prior to unmixing this function returns the scores of the corresponding endmembers. In this case, to get the original spectra you probably want raw_data[unmixR_results$indices,].

See also

vca and nfindr for examples.