Mark each person as to their depth in a pedigree; 0 for a founder, otherwise depth = 1 + max(father's depth, mother's depth)
kindepth(id, dad.id, mom.id, align = FALSE)
an integer vector containing the depth for each subject
Identification code for each individual
Id code for the father
Id code for the mother
If align=T, go one step further and try to make both parents of each child have the same depth. (This is not always possible). It helps the drawing program by lining up pedigrees that "join in the middle" via a marriage.
Terry Therneau
In the case of an inbred pedigree a perfect alignment obeying
extra=TRUE
may not exist.
plot.pedigree