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 <HStevens@muohio.edu>

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

primer documentation built on May 19, 2017, 10:05 p.m.

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.

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.