compare2delimitations {BarcodingR} | R Documentation |
Comparision between two delimitations of a group of samples, for instance, traditionally morphological delimitation and molecular delimitation (MOTU).
compare2delimitations(deli1, deli2)
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). |
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.
This is for the same set of samples with two partitions/delimitations.
Ai-bing ZHANG, PhD. CNU, Beijing, CHINA.
L. Hubert and P. Arabie (1985) Comparing Partitions, Journal of the Classification 2:193-218.
deli1<-c(1,1,1,1,1,1) deli2<-c(1,1,2,1,1,3) out<-compare2delimitations(deli1,deli2) out