Learn R Programming

EMA (version 1.4.7)

dice: Compute Dice distance on a data matrix

Description

Computes Dice distances between the columns of a 0-1-matrix.

Usage

dice(mat)

Arguments

mat

0-1-matrix.

Value

A distance matrix

Details

Missing values are allowed, and are excluded from all computations involving the cols within which they occur.

References

Dice, L.R. (1945), Measures of the amount of ecologic association between species, J. Ecology, 26, 297-302.