Sample selection function for selecting representative samples of a target population
1 2 | sampleSelect(cp, cand, target, nchoose, herit = 0.5, ntry = 300,
nrep = 30)
|
cp |
a relationship matrx |
cand |
is a vector of indices pointing to the candidates for the sample |
target |
is a vector of indices pointing to the target population |
nchoose |
is the desired sample size |
herit |
is the heritability of the trait |
ntry |
is the number of iterations of the exchange algorithm |
nrep |
is the number of repitions of the exchange algorithm |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.