unmixing_fixed: Fix the endmembers

Description Usage Arguments Value See Also Examples

Description

Find the files which match with the computed endmembers.

Usage

1
2
unmixing_fixed(signatures, endmember_files, endmember_names = NULL,
  endmember_colors = NULL)

Arguments

signatures

A spectral object built using the load_signature_files function.

endmember_files

A vector of filenames (strings) of the selected signatures to be fixed as endmembers.

endmember_names

A vector of names to be assigned to each selected endmember. Optional, by default (NONE) uses the filenames.

endmember_colors

A vector of color names to be assigned to each selected endmember. Check for possible colors colors. Optional, by default (NONE) use random colors.

Value

A data frame which contains the files which match with the selected endmembers.

See Also

load_signature_files

Examples

1
2
3
4
5
data(signatures)
files <- c("almagre.asd.txt", "blanco.asd.txt")
names <- c("red", "white")
colors <- c("red2", "white")
unmixed_signatures <- unmixing_fixed(signatures, endmember_files=files, endmember_names=names, endmember_colors=colors)

jacintoArias/archeospec documentation built on May 17, 2019, 5:52 p.m.