Description Usage Arguments Value
View source: R/addGroupOfUnusedAnimals.R
addGroupOfUnusedAnimals adds a group to the saved groups if needed
1 | addGroupOfUnusedAnimals(savedGroupMembers, candidates, ped, minAge, harem)
|
savedGroupMembers |
list of groups of animals in the form of a vector of animal Ids. |
candidates |
character vector of IDs of the animals available for use in the group. |
ped |
dataframe that is the 'Pedigree'. It contains pedigree
information including the IDs listed in |
minAge |
integer value indicating the minimum age to consider in group formation. Pairwise kinships involving an animal of this age or younger will be ignored. Default is 1 year. |
harem |
logical variable when set to |
A list of groups, which are each lists of animal Ids that are unused animals at the end of the iteration.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.