It finds the similarity matrix of binary tables (1 and 0).

similarity(A)

Arguments

A

Matrix, data binary

Value

Distance matrix. Class = dist.

See also

Examples

#example table of molecular markers library(agricolae) data(markers) distance<-similarity(markers) #startgraph tree<-hclust(distance,method="mcquitty") plot(tree,col="blue")
#endgraph