addSexAndAgeToGroup {nprcgenekeepr} | R Documentation |
Forms a dataframe with Id, Sex, and current Age given a list of Ids and a pedigree
Description
Forms a dataframe with Id, Sex, and current Age given a list of Ids and a pedigree
Usage
addSexAndAgeToGroup(ids, ped)
Arguments
ids |
character vector of animal Ids |
ped |
datatable that is the |
Value
Dataframe with Id, Sex, and Current Age
Examples
library(nprcgenekeepr)
data("qcBreeders")
data("qcPed")
df <- addSexAndAgeToGroup(ids = qcBreeders, ped = qcPed)
head(df)
[Package nprcgenekeepr version 1.0.7 Index]