For each id
in allSimParents
with one or more unknown parents
each unknown parent is replaced with a random sire or dam as needed from
the corresponding parent vector (sires
or dams
).
Arguments
- ped
pedigree information in data.frame format
- allSimParents
list made up of lists where the internal list has the offspring ID
id
, a vector of representative sires (sires
), and a vector of representative dams (dams
).- verbose
logical vector of length one that indicates whether or not to print out when an animal is missing a sire or a dam.