powered by
This function takes an assessment model and runs a stochastic projection based on future F or catch.
projection( Assessment, constrain = c("F", "Catch"), FMort = NULL, Catch = NULL, p_years = 50, p_sim = 200, obs_error = NULL, process_error = NULL, max_F = 3, seed = 499 )
An object of class '>Assessment.
Whether to project on future F or catch. By default, projects on F.
The projection F, either of length 1 for constant F for the entirety of the projection or length p_years.
The projection catch, either of length 1 for constant catch for the entirety of the projection or length p_years.
Integer for the number of projection years.
Integer for the number of simulations for the projection.
Vector of length two for standard deviation of error to be added to the index and catch, respectively. If NULL, uses values from assessment model.
NULL
Numeric, standard deviation for process error (e.g., recruitment or biomass deviates). If NULL, uses values from assessment model.
The maximum allowable F if the projection is constrained on catch.
An integer to set the seed for the sampling observation and process error deviates.
# NOT RUN { myAssess <- SCA(Data = SimulatedData) do_projection <- projection(myAssess, FMort = myAssess@FMSY) # }
Run the code above in your browser using DataLab