This function causes uniform crossing over among loci in a population of agents.
crossover(agents, prob = 0.1)
A list of agents on which crossing over will be performed
The probability that crossing over happens at a locus
agents The list of agents after crossing over
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.