Description Usage Arguments Value
View source: R/initializeHaremGroups.R
Make the initial groupMembers animal list
1 | initializeHaremGroups(numGp, currentGroups, candidates, ped, minAge)
|
numGp |
integer value indicating the number of groups that should be formed from the list of IDs. Default is 1. |
currentGroups |
list of character vectors of IDs of animals currently assigned to the group. Defaults to character(0) assuming no groups are existent. |
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. |
Initial groupMembers list
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.