compare2delimitations: Comparision between two Delimitations

Description Usage Arguments Value Note Author(s) References Examples

View source: R/compare2delimitations.R

Description

Comparision between two delimitations of a group of samples, for instance, traditionally morphological delimitation and molecular delimitation (MOTU).

Usage

1
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

1
2
3
4
deli1<-c(1,1,1,1,1,1)
deli2<-c(1,1,2,1,1,3)
out<-compare2delimitations(deli1,deli2)
out

BarcodingR documentation built on April 14, 2020, 6:04 p.m.