Plot of the mutual information among wavelengths for all the signatures.
plot_mutualinfo(signatures, bins = 10)
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. |
A ggplot2 object.
data(signatures) clustered_signatures <- clustering_kmeans(signatures, k=3) plot_mutualinfo(clustered_signatures)