PlotSexRatio.fn: Function to plot sex ratio

View source: R/plotSexRatio.fn.R

PlotSexRatio.fnR Documentation

Function to plot sex ratio

Description

Function to plot sex ratio

Usage

PlotSexRatio.fn(
  dir,
  dat,
  data.type = "length",
  main = NULL,
  circleSize = 0.1,
  dopng = lifecycle::deprecated(),
  ...
)

Arguments

dir

directory location for saving the png

dat

data object

data.type

"length" or "age"

main

ame that will be used to name the saved png

circleSize

circle size

dopng

Deprecated with nwfscSurvey 2.1 because providing a non-NULL value to dir can serve the same purpose as dopng = TRUE without the potential for errors when dopng = TRUE and dir = NULL. Thus, users no longer have to specify dopng to save the plot as a png.

...

Additional arguments for the plots

Author(s)

Allan Hicks and Chantel Wetzel


nwfsc-assess/nwfscSurvey documentation built on March 19, 2024, 11:57 p.m.