Generate the table which contains the composition of each signature expressed as a weighted combination of endmembers. The spectral object needs to be unmixed (using unmixing_fixed or unmixing_vca).

table_weights(signatures)

Arguments

signatures

A spectral object built using the load_signature_files function. The spectral object needs to be unmixed (using unmixing_fixed or unmixing_vca).

Value

A matrix object with the tabular information.

See also

Examples

data(signatures) unmixed_signatures <- unmixing_fixed(signatures, files=c("almagre.asd.txt", "blanco.asd.txt"))
#> Error in unmixing_fixed(signatures, files = c("almagre.asd.txt", "blanco.asd.txt")): unused argument (files = c("almagre.asd.txt", "blanco.asd.txt"))
table_weights(unmixed_signatures)
#> Error in is(x, "spectral"): object 'unmixed_signatures' not found