similarity {agricolae} | R Documentation |
It finds the similarity matrix of binary tables (1 and 0).
similarity(A)
A |
Matrix, data binary |
A |
Numeric (0,1) |
Felipe de Mendiburu
#example table of molecular markers library(agricolae) data(markers) distance<-similarity(markers) #startgraph tree<-hclust(distance,method="mcquitty") plot(tree,col="blue") #endgraph