compareResults.Pop.NaturalMortality: Function to plot natural mortality rates by year using...

View source: R/compareResults.Pop.NaturalMortality.R

compareResults.Pop.NaturalMortalityR Documentation

Function to plot natural mortality rates by year using ggplot2

Description

This function plots natural mortality estimates by year, sex and maturity state.

Usage

compareResults.Pop.NaturalMortality(
  objs,
  type = "M_cy",
  dodge = 0.2,
  plotPoints = FALSE,
  colour_scale = NULL,
  fill_scale = NULL,
  pdf = NULL,
  showPlot = FALSE,
  verbose = FALSE
)

Arguments

objs
  • list of resLst objects

type
  • type of mortality values to plot

dodge
  • width to dodge overlapping series

plotPoints
  • flag to include points on plot

colour_scale
  • ggplot2 colour scale to substitute for default (if not NULL)

fill_scale
  • ggplot2 fill scale to substitute for default (if not NULL)

pdf
  • creates pdf, if not NULL

showPlot
  • flag (T/F) to show plot

verbose
  • flag (T/F) to print diagnostic information

Details

None.

Value

ggplot2 object as list element


wStockhausen/rCompTCMs documentation built on Aug. 27, 2024, 7:15 p.m.