randomMate | R Documentation |
Random Mating
randomMate(inds, n, names, seed = NULL)
inds |
Vector of the selected individuals' names |
n |
Total number of cross to perform |
names |
Names of the new individuals. |
seed |
Random seed for mate pairs |
data.frame
of the crossing table
nCross <- 10
inds <- paste0("ind-", seq(1:5))
names <- paste0("newInd-", seq(1:nCross))
randomMate(inds, nCross, names)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.