View source: R/evoluteCandidates.R
evoluteCandidates | R Documentation |
Evolutionary algorithm to pick candidates for mating plan to reduce relatedness and maximize criterion
evoluteCandidates( criterion, K, n.candidates, step = c(5, 4, 3, 2, 1), n.steps = 200, n.try = 10000, n.burnIn = 10 )
criterion |
data frame with variable to maximize |
K |
relationship matrix |
n.candidates |
number of crosses in the mating plan |
n.try |
attempts to replace the current number of candidates (current step) to improve candidates list before moving for next phase |
n.burnIn |
attempts to initialize the chain |
steps |
numeric vector of steps in each evolution phase |
A list with final candidate list, and relationship and criterion evolution
Rodrigo R Amadeu, rramadeu@gmail.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.