countOff {pedigree} | R Documentation |
Function to count the number of offspring for each individual in a pedigree. With loops, offspring of later generations will be counted several times.
countOff(ped)
ped |
data.frame with three columns: id,id parent1,id parent2 |
Numeric vector with number of offspring for each individual in the pedigree.
Albart Coster
example(countGen) countOff(ped)