compare2delimitations {BarcodingR} | R Documentation |
Comparision between two Delimitations
Description
Comparision between two delimitations of a group of samples, for instance, traditionally morphological delimitation and molecular delimitation (MOTU).
Usage
compare2delimitations(deli1, deli2)
Arguments
deli1 |
a character array (vector),containing a set of, for example, morphological identification (species names), to compare with |
deli2 |
a character array (vector),containing a set of, molecular delimitation (MOTU). |
Value
a list containing the adjusted Rand index comparing the two partitions (a scalar). This index has zero expected value in the case of random partition, and it is bounded above by 1 in the case of perfect agreement between two partitions; the numbers of matches, splits,merges, and corresponding percentage.
Note
This is for the same set of samples with two partitions/delimitations.
Author(s)
Ai-bing ZHANG, PhD. CNU, Beijing, CHINA.
References
L. Hubert and P. Arabie (1985) Comparing Partitions, Journal of the Classification 2:193-218.
Examples
deli1<-c(1,1,1,1,1,1)
deli2<-c(1,1,2,1,1,3)
out<-compare2delimitations(deli1,deli2)
out