add.Inds {pedigree} | R Documentation |
Function to add missing individuals to a pedigree
Description
Function add.Inds() adds missing individuals to a pedigree and returns the
complete pedigree as a data.frame with the same headers as the
original pedigree. Remeber to check for errors beforehand with
function errors.ped
. Unknown parents should be coded as NA.
Usage
add.Inds(ped)
Arguments
ped |
|
Value
data.frame of three columns with identical header as input.
Author(s)
Albart Coster, Albart.Coster@wur.nl
See Also
Examples
ID <- 3:5
DAM <- c(1,1,3)
SIRE <- c(2,2,4)
pedigree <- data.frame(ID,DAM,SIRE)
pedigree <- add.Inds(pedigree)
[Package pedigree version 1.4.2 Index]