getPedMaxAge: Get the maximum age of live animals in the pedigree.

View source: R/getPedMaxAge.R

getPedMaxAgeR 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)

rmsharp/nprcmanager documentation built on Feb. 2, 2025, 12:45 a.m.