hs_mate_finder {pedSimulate} | R Documentation |
Find halfsib mates
Description
Find halfsib matings in the pedigree
Usage
hs_mate_finder(ped)
Arguments
ped |
: A pedigree |
Value
hs_mates : A data.frame
with two columns (SIRE, DAM) representing halfsib mates.
Examples
ped = data.frame(ID=1:7, SIRE=c(0,0,1,1,0,3,5), DAM=c(0,0,2,2,2,4,4))
hs_mate_finder(ped)
[Package pedSimulate version 1.4.3 Index]