Closure for simulating length given age using von Bertalanffy notation
Closure for simulating length given age using von Bertalanffy notation
This function outputs a function which holds the parameter values supplied and the function either simulates lengths given ages or generates a length age key give a sequence of ages.
log_sd: Standard deviation of the relationship in log scale
length_group: Length group for length age key. Note that labels on the matrix produced are midpoints using the DFO conventions; see group_lengths. Also note that this length group will dictate the length group used in the stratified analysis run by run_strat.
digits: Integer indicating the number of decimal places to round the values to
plot: Produce a simple plot of the simulated values?