addSexAndAgeToGroup: Build a group data frame with ID, sex, and age
Description
Build a group data frame with ID, sex, and age
Usage
addSexAndAgeToGroup(ids, ped)
Value
Dataframe with Id, Sex, and Current Age
Arguments
ids
character vector of animal IDs
ped
The pedigree information in data.frame format
Details
An empty ids vector yields a zero-row data frame that still
contains all three columns (ids, sex, age), with
sex an empty factor, so the returned schema does not depend on the
number of ids supplied.