powered by
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)
Numeric vector with number of offspring for each individual in the pedigree.
data.frame with three columns: id,id parent1,id parent2
data.frame
Albart Coster
example(countGen) countOff(ped)
Run the code above in your browser using DataLab