Get the maximum age of live animals in the pedigree.
getPedMaxAge(ped)
ped | dataframe with pedigree |
---|
Numeric value representing the maximum age of animals in the pedigree.
# \donttest{ library(nprcgenekeepr) examplePedigree <- nprcgenekeepr::examplePedigree ped <- qcStudbook(examplePedigree, minParentAge = 2, reportChanges = FALSE, reportErrors = FALSE) getPedMaxAge(ped)#> [1] 38.4# }