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 Oct. 18, 2018, 2:13 a.m.