Smith | R Documentation |

Smith dynamic as a type of evolutionary dynamics.

Smith(time, state, parameters)

`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. |

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

Daniel Gebele dngebele@gmail.com

Smith, M. J. (1984) "The Stability of a Dynamic Model of Traffic Assignment – An Application of a Method of Lyapunov", Transportation Science 18, pp. 245–252.

dynamic <- Smith 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)

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.