mutation: Mutation function

Description Usage Arguments Value

View source: R/mutation.R

Description

This function causes alleles to mutate in agents.

Usage

1
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


bradduthie/gamesGA documentation built on March 7, 2020, 2:20 p.m.