getPedMaxAge {nprcgenekeepr} | R Documentation |
Get the maximum age of live animals in the pedigree.
Description
Get the maximum age of live animals in the pedigree.
Usage
getPedMaxAge(ped)
Arguments
ped |
dataframe with pedigree |
Value
Numeric value representing the maximum age of animals in the pedigree.
Examples
library(nprcgenekeepr)
examplePedigree <- nprcgenekeepr::examplePedigree
ped <- qcStudbook(examplePedigree,
minParentAge = 2,
reportChanges = FALSE,
reportErrors = FALSE
)
getPedMaxAge(ped)
[Package nprcgenekeepr version 1.0.7 Index]