getA {pedigreeTools} | R Documentation |
Returns the additive relationship matrix for the pedigree ped
.
getA(ped)
ped |
a pedigree that includes the individuals who occur in svec
which to restrict the relationship matrix. If |
an object that inherits from CHMfactor
ped <- pedigree(sire=c(NA,NA,1,1,4,5), dam=c(NA,NA,2,NA,3,2), label=1:6) getA(ped)