Description Usage Arguments Details Examples

Plotting functions.

1 |

`mat` |
A population matrix, as produced by |

`col` |
Optional. A color vector |

`legend` |
Optional. An array of names |

`log.y` |
Logical. Should the y-axis be plotted in a logarithmic scale? |

`perc` |
Logical. If set to true, will output the y-axis as a percentage instead of the absolute numbers |

`qt` |
Optional. For distributions, show only up to quantile qt (percentage) |

`...` |
Further parameters to be passed to the lower level plot function |

The `stackplot`

function produces a stacked plot of the population over time.
Notice that the population should have at least two stages for this function to work.

1 2 3 4 5 6 | ```
data(twospecies)
ab <- abundance.matrix(twospecies,seq(0,twospecies$maxtime,by=1))
# species 1
stackplot(ab[,1:3])
# species 2
stackplot(ab[,4:5])
``` |

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.