Learn R Programming

nprcgenekeepr (version 1.0.5)

getPedMaxAge: 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

Run this code
# NOT RUN {
library(nprcgenekeepr)
examplePedigree <- nprcgenekeepr::examplePedigree
ped <- qcStudbook(examplePedigree, minParentAge = 2,
                        reportChanges = FALSE,
                        reportErrors = FALSE)
getPedMaxAge(ped)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab