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

View source: R/plotPop.NaturalMortality.R

plotPop.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

plotPop.NaturalMortality(
  mdfr,
  dodge = 0.2,
  pdf = NULL,
  showPlot = FALSE,
  verbose = FALSE
)

Arguments

mdfr
  • melted dataframe

dodge
  • width to dodge overlapping series

pdf
  • creates pdf, if not NULL

showPlot
  • flag (T/F) to show plot

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

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

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

Details

None.

Value

ggplot2 object as list element


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