Learn R Programming

hierfstat (version 0.5-11)

kinship2dist: 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

Value

A distance matrix

Details

\(D_{ii}=0, D_{ij}=\frac{1-(x-min(x))}{(1-min(x))}\)