Learn R Programming

nprcgenekeepr (version 1.0.8)

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)

Value

Numeric value representing the maximum age of animals in the pedigree.

Arguments

ped

dataframe with pedigree

Examples

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

Run the code above in your browser using DataLab