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

A

Numeric (0,1)

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

agricolae documentation built on Aug. 5, 2017, 5:02 p.m.