quickPlot function

Generic plotting showing results of microPop

Generic plotting showing results of microPop

quickPlot( soln, numR, numStrains, microbeNames, yLabel, xLabel, sumOverStrains, resourceLegendPosition = "topleft", microbeLegendPosition = "topleft", saveFig = FALSE, figType = "eps", figName = "microPopFig" )

Arguments

  • soln: ODE output from microPopModel() i.e. matrix out$solution
  • numR: Scalar. Number of resources
  • numStrains: Scalar. Number of strains per group
  • microbeNames: Vector of strings which contains the names of the microbial groups in the system e.g. c('Bacteroides','Acetogens')
  • yLabel: String for y axis label
  • xLabel: String for x axis label
  • sumOverStrains: Logical
  • resourceLegendPosition: String. Position of legend in resource plot, default is 'topleft'
  • microbeLegendPosition: String. Position of legend in microbe plot, default is 'topleft'
  • saveFig: Logical. Default is FALSE
  • figType: String. Default is "eps"
  • figName: String. Default is "microPopFig"

Returns

Nothing just generates a plot