# numeric only
catch_adjust(old_minLS = 130, old_maxLS = 280, old_Lc = 80,
new_minLS = 100, new_maxLS = 240,
growth_model = "vb", Linf = 405, K = 0.118, l0 = 0, tmax = 34)
# \donttest{
# with plot (requires ggplot2)
catch_adjust(old_minLS = 130, old_maxLS = 280, old_Lc = 80,
new_minLS = 100, new_maxLS = 240,
growth_model = "vb", Linf = 405, K = 0.118, l0 = 0,
tmax = 34, plot = TRUE, length_units = "mm")
# note that overlapping portions stray from color in legend due to alpha value
catch_adjust(old_minLS = 100, old_maxLS = 150, old_Lc = 80,
new_minLS = 160, new_maxLS = 300,
growth_model = "vb", Linf = 405, K = 0.118, l0 = 0,
tmax = 34, plot = TRUE, length_units = "mm")
# }
Run the code above in your browser using DataLab