plot_mutualinfo: Mutual information plot

Description Usage Arguments Value See Also Examples

Description

Plot of the mutual information among wavelengths for all the signatures.

Usage

1
plot_mutualinfo(signatures, bins = 10)

Arguments

signatures

A spectral object built using the load_signature_files function. The spectral object needs to be clustered (using clustering_kmeans or clustering_endmembers).

bins

The amplitude for each wavelength is discretized into this number of bins, in order to compute the mutual info. By default, the number of bins is 10.

Value

A ggplot2 object.

See Also

clustering_kmeans

clustering_endmembers

load_signature_files

Examples

1
2
3
data(signatures)
clustered_signatures <- clustering_kmeans(signatures, k=3)
plot_mutualinfo(clustered_signatures)

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