kinshipShift {hierfstat} | R Documentation |
Shifts a kinship matrix
Description
Shifts a kinship matrix
Usage
kinshipShift(x,shift=NULL)
Arguments
x |
a square matrix |
shift |
the amount by which the elements of x should be shifted. if |
Details
The kinship matrix produced by beta.dosage
is relative to the average kinship
of the set of individuals analysed ().
Another reference point might be useful, for instance to avoid negative kinship values, one might
want to shift the matrix by
.
Value
the shifted kinship matrix
Author(s)
Jerome Goudet jerome.goudet@unil.ch
[Package hierfstat version 0.5-11 Index]