similarity: Matrix of similarity in binary data

Description Usage Arguments Value Author(s) See Also Examples

View source: R/similarity.R

Description

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

Usage

1

Arguments

A

Matrix, data binary

Value

Distance matrix. Class = dist.

Author(s)

Felipe de Mendiburu

See Also

cv.similarity, resampling.cv

Examples

1
2
3
4
5
6
7
8
#example table of molecular markers
library(agricolae)
data(markers)
distance<-similarity(markers)
#startgraph
tree<-hclust(distance,method="mcquitty")
plot(tree,col="blue")
#endgraph

Example output



agricolae documentation built on Sept. 13, 2017, 1:03 a.m.