Function to plot sex ratio
PlotSexRatio.fn.Rd
Function to plot sex ratio
Usage
PlotSexRatio.fn(
dir,
dat,
data.type = "length",
main = NULL,
circleSize = 0.1,
dopng = lifecycle::deprecated(),
...
)
Arguments
- dir
Directory where output will be saved. The directory where the file should be saved. If dir = NULL no output will be saved.
- dat
Data object with biological data from
pull_bio()
with a column namedSex
present.- data.type
Specify where to calculate the sex ration by length or age.
- main
Name 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 asdopng = TRUE
without the potential for errors whendopng = TRUE
anddir = NULL
. Thus, users no longer have to specifydopng
to save the plot as a png.- ...
Additional arguments for the plots