kinship2dist {hierfstat} | R Documentation |
Converts a kinship matrix to a distance matrix
Description
Converts a kinship matrix to a distance matrix
Usage
kinship2dist(x)
Arguments
x |
A square matrix containg kinship coefficients |
Details
D_{ii}=0, D_{ij}=\frac{1-(x-min(x))}{(1-min(x))}
Value
A distance matrix
Author(s)
Jerome Goudet jerome.goudet@unil.ch
[Package hierfstat version 0.5-11 Index]