View source: R/captool_simulation.R
grid.search.catch | R Documentation |
Function for setting catch, when zero catch gives prediction above blim
grid.search.catch(
captool_run,
catchgrid = seq(0, 0.1, 0.02),
catch.distribution = c(0, 0.3, 0.7),
optimize = TRUE,
blim = 0.2,
seed = 1,
...
)
captool_run |
output from captool function |
catchgrid |
grid of potential catch quotas when optimize = FALSE, else min and max of catchgrid values are used as limits for optim. |
catch.distribution |
vector of length 3 given ratio of catch in jan, feb and mar |
optimize |
boolean, if TRUE uses optim to find exact catch |
blim |
Blim |
seed |
integer, for not changing the random input |
... |
other arguments for the optimization to captool function. E.g. NewFallMortality |
captool object
## Not run: opt <- grid.search.catch(run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.