kinship2dist: Converts a kinship matrix to a distance matrix

Description Usage Arguments Details Value Author(s)

View source: R/ksGRM.R

Description

Converts a kinship matrix to a distance matrix

Usage

1

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


hierfstat documentation built on Nov. 17, 2021, 5:08 p.m.