Plot variability of length at age
plot_varlenage.Rd
Plot variability of length at age
Usage
plot_varlenage(
dir = NULL,
dat,
main = NULL,
Par = data.frame(K = 0.13, Linf = 55, L0 = 15, CV0 = 0.1, CV1 = 0.1),
bySex = TRUE,
estVB = TRUE,
bins = NULL,
legX = "bottomleft",
legY = NULL,
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
The data loaded from
pull_bio()
- main
Name that will be used to name the saved png
- Par
Starting parameters for K, Linf, L0, CV0, and CV2 based on the Stock Synthesis parameterization of von Bertanlaffy growth.
- bySex
Logical to indicate if plot by sex
- estVB
Logical. Estimate vonB growth to plot against predicted length. If F, it uses the paramters in
parStart
.- bins
The bins to put ages into. If NULL then simply uses the ages as recorded.
- legX
legend location for x axis, defaults to "bottomleft"
- legY
legend location for y axis, defaults to NULL
- 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.