Description Usage Arguments Value Author(s)
This function will take a random sample of n size of individuals from each family. For Families smaller than n, the entire family is represented.
1 | purge_sibs(ids, fams, purge_to, returnDF = F)
|
ids |
vector of individuals IDS |
fams |
vector of family membership (family id) for each individual. |
purge_to |
the maximum family size to retain. Will randomly sample individuals from large families to obtain this size. Families smaller than this size are retained. |
returnDF |
logical if a sib-purged data frame should be returned or if a vector of individual ids should be returned. |
sib-purged data frame or vector of sib-purged individual ID's
Zak Robinson, Contact: zachary.robinson(at)umontana.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.