# NOT RUN {
# age-based stock simulation
data(shrimps)
# option 1: without plus group
stock_sim(shrimps, age_unit = "month")
# option 2: with plus group
stock_sim(param = shrimps, age_unit = "month", plus_group = 11)
# length-based stock simulation
data(hake)
stock_sim(param = hake, stock_size_1 = 98919.3)
# }
Run the code above in your browser using DataLab