genericPlot: Generic Plotting Function

View source: R/genericPlot.R

genericPlotR Documentation

Generic Plotting Function

Description

Plot the state variables over time (sums over all strains if there are multiple strains in a species)

Usage

genericPlot(
  output,
  numSpecies,
  numStages,
  speciesNames,
  stageNames,
  saveFig = FALSE,
  figType = "eps",
  figName = "stagePopFig"
)

Arguments

output

Model output, from popModel

numSpecies

Number of species in the model

numStages

Number of life stages

speciesNames

species names (vector of strings). Default is NULL.

stageNames

stage names (a list of vectors if there is more than one species).

saveFig

Choose to save the figure (TRUE or FALSE). Default is FALSE.

figType

Figure format can be 'eps', 'tiff' or 'png'. Default is 'eps'

figName

filepath to save figure to. Default is 'stagePopFig'

See Also

popModel


stagePop documentation built on May 10, 2022, 5:10 p.m.