MSReplicator: Maynard Smith replicator dynamic

View source: R/MSReplicator.R

MSReplicatorR Documentation

Maynard Smith replicator dynamic

Description

Maynard Smith replicator dynamic as a type of evolutionary dynamics.

Usage

MSReplicator(time, state, parameters)

Arguments

time

Regular sequence that represents the time sequence under which simulation takes place.

state

Numeric vector that represents the initial state.

parameters

Numeric vector that represents parameters needed by the dynamic.

Value

Numeric list. Each component represents the rate of change depending on the dynamic.

Author(s)

Daniel Gebele dngebele@gmail.com

References

Smith, J. M. (1982) "Evolution and the Theory of Games", Cambridge University Press.

Examples

dynamic <- MSReplicator
A <- matrix(c(0, -2, 1, 1, 0, -2, -2, 1, 0), 3, byrow=TRUE)
state <- matrix(c(0.4, 0.3, 0.3), 1, 3, byrow=TRUE)
phaseDiagram3S(A, dynamic, NULL, state, FALSE, FALSE)

EvolutionaryGames documentation built on Aug. 29, 2022, 1:06 a.m.