Learn R Programming

nprcgenekeepr (version 2.0.0)

speciesGestation: Per-species reproductive parameters

Description

A lookup table mapping a species name to reproductive parameters used across the package. It keys the gestation window in getPotentialParents through getSpeciesGestation and the minimum breeding ages in the Genetic Value Analysis unknown-parent mean-kinship correction through getSpeciesMinBreedingAge. Species names are matched case- and whitespace-insensitively; any species not present falls back to 210 days for gestation and 2 years for the breeding ages. Rhesus gestation is 210 days (the historical conservative bound; typical rhesus gestation is about 165 days, per Vinson & Raboin 2015), and rhesus minimum breeding ages are male = 4, female = 2.5. The table is populated for the common colony NHP species, with gestation values as conservative upper bounds; making the values user-configurable is a separate planned enhancement. Extend or adjust it by editing data-raw/speciesGestation.R and re-running that script.

species

-- character species name (e.g. "RHESUS").

gestation

-- integer maximum gestation period in days (a conservative upper bound).

minMaleBreedingAge

-- numeric minimum age in years at which a male of the species can sire offspring.

minFemaleBreedingAge

-- numeric minimum age in years at which a female of the species can bear offspring.

Usage

data(speciesGestation)

Arguments

Format

An object of class data.frame with 14 rows and 4 columns.

Examples

Run this code
library(nprcgenekeepr)
data("speciesGestation")
speciesGestation

Run the code above in your browser using DataLab