comb_LeMans_run | R Documentation |
LeMans_outputs
objectsCombines two LeMans_outputs objects.
comb_LeMans_run(LeMans_run_x, LeMans_run_y, cont = TRUE)
LeMans_run_x |
A LeMans_outputs object. |
LeMans_run_y |
A LeMans_outputs object. |
cont |
A logical statement indicating whether or not |
If cont==T
, the first years output from LeMans_run_y
is removed as this will be the same as the last year of LeMans_run_x
.
A LeMans_outputs
object.
LeMans_outputs, run_LeMans
# Set up the inputs to the model NS_params <- LeMansParam(NS_par, tau=NS_tau, eta=rep(0.25, 21), L50=NS_par$Lmat, other=NS_other) # Define fishing effort effort <- matrix(0.5, 10, dim(NS_params@Qs)[3]) # Run the model for the first time model_run1 <- run_LeMans(NS_params, years=10, effort=effort) # Run the model for another 12 years effort1 <- matrix(0.5, 12, dim(NS_params@Qs)[3]) model_run2 <- run_LeMans(N=model_run1@N[,,101], NS_params, years=12, effort=effort1) # Combine the two model runs into a single run out <- comb_LeMans_run(model_run1, model_run2, cont=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.