Description Usage Arguments Value Author(s) References See Also Examples

A pedagogical tool for learning about isoclines and stable equilibria.

1 | ```
LVCompGames(Alpha=NULL, r1=.1, r2=.1, num=20, time=10, step=1)
``` |

`Alpha` |
a 2 x 2 matrix of coefficients; if NULL, then a sensible random matrix will be generated - fun for games. |

`r1` |
the intrinsic rate of increase for species 1 (isocline – a solid line). |

`r2` |
the intrinsic rate of increase for species 2 (isocline – a dashed line). |

`num` |
the desired number of random starting points for trajectories. |

`time` |
the number of time steps for each trajectory. |

`step` |
the number of time steps for which the integration is estimated (has no effect on accuracy, merely the smoothness of the line). |

First generates a plot of isoclines and initial points; the user is then prompted to "Hit <return>" in the console to see the trajectories. These will indicate the rate and path the trajectories, demonstrating, among other things, whether the equilibrium is stable.

Hank Stevens <[email protected]>

Lotka, A.J. (1956) *Elements of Mathematical Biology*. Dover Publications, Inc.

Stevens, M.H.H. (2009) *A Primer of Ecology with R*. Use R! Series. Springer.

1 | ```
LVCompGames() # Hit return in the console to see the trajectories.
``` |

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.