popSizesPlot | R Documentation |
Constructs a plot of population size versus time from the projection of Leslie matrix using pop.projection
from the popbio package.
popSizesPlot( object, use.log = FALSE, xlab = "Time", ylab = "Population Size", type = "l", lwd = 2, add = FALSE, ... )
object |
An object saved from |
use.log |
A logical that indicates if the population sizes should be logged before plotting. |
xlab |
A string for labelling the x-axis. |
ylab |
A string for labelling the y-axis. |
type |
A type of plot – use |
lwd |
A numeric that indicates the line width to use. |
add |
A logical that indicates whether the data should be added to a currently existing plot. |
... |
Extra arguments to be sent to the default plot routine. |
A plot of either population sizes or log population sizes versus time.
This function is meant to work with an object saved from pop.projection()
in the popbio package. It is not a general function for plotting population size versus time.
Derek H. Ogle, dogle@northland.edu
pop.projection
and stage.vector.plot
in popbio.
## ONLY RUN IN INTERACTIVE MODE if (interactive()) { require(popbio) example(pop.projection) popSizesPlot(p) } ## END IF INTERACTIVE MODE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.