mutation: Mutation function
Description
This function causes alleles to mutate in agents.
Usage
mutation(agents, prob = 0.01)
Arguments
agents
A list of agents on which mutation will occur
prob
The probability that a mutation will occur for any locus
Value
agents The list of agents after mutation