View source: R/kinship_wg_limit.R
kinship_wg_limit | R Documentation |
This function calculates the biased limiting expectation of the Weir-Goudet kinship estimator. This limit is easily calculated given the true kinship matrix.
kinship_wg_limit(kinship)
kinship |
The true kinship matrix |
The biased limit of the Weir-Goudet kinship estimator
# create a dummy kinship matrix kinship <- matrix( c( 0.6, 0.1, 0, 0.1, 0.6, 0.1, 0, 0.1, 0.6 ), nrow = 3 ) # this is its biased limit kinship_wg_lim <- kinship_wg_limit(kinship)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.