JMdist {varSel} | R Documentation |
Jeffries-Matusita distance among classes
Description
Jeffries-Matusita distance.
Usage
JMdist(g, X)
Arguments
g |
A column vector of the lables. length(g) is equal to nrow(X). |
X |
A dataframe of the features. ncol(X) is equal to the total number of features, and nrow(X) is equal to the number of avaialble training samples. nrow(X) is equal to length(g) |
Value
A list containing a matrix of the class combinations and a vector of the JM distances of all the class combinations.
Author(s)
Michele Dalponte and Hans Ole Oerka
References
Dalponte, M., Oerka, H.O., Gobakken, T., Gianelle, D. & Naesset, E. (2013). Tree Species Classification in Boreal Forests With Hyperspectral Data. IEEE Transactions on Geoscience and Remote Sensing, 51, 2632-2645.
[Package varSel version 0.2 Index]