This function causes alleles to mutate in agents.
mutation(agents, prob = 0.01)
A list of agents on which mutation will occur
The probability that a mutation will occur for any locus
agents The list of agents after mutation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.