It finds the similarity matrix of binary tables (1 and 0).
similarity(A)
A | Matrix, data binary |
---|
Distance matrix. Class = dist.
#example table of molecular markers library(agricolae) data(markers) distance<-similarity(markers) #startgraph tree<-hclust(distance,method="mcquitty") plot(tree,col="blue")#endgraph