makeAssessment | R Documentation |
Makes assessment of a fish stock given weight frequency data for several years
makeAssessment(inputData, yield = NULL, a.mean = 0.22, a.sd = 0.7,
nsample = 100, same.as = TRUE, u = 10, sigma = NULL, binsize = NULL,
winf.ubound = 2, equalWinf = TRUE, probs = seq(0, 1, 0.01),
seed = as.integer(rnorm(1, 1000, 100)), dirout = "results",
fnout = format(Sys.time(), "results_%Y%m%d_%H%M.RData"), ...)
inputData |
list of data.frames, each data.frame has columns |
yield |
numeric, the total yearly catch or landings in kg. Use NULL if not known. |
a.mean |
numeric, physiological mortality. |
a.sd |
numeric, the standard deviation (log domain) of the log-normal distribution of physiological mortality. |
nsample |
integer, number of repetitions for uncertainty etimation. If zero no uncertainty is estimated. |
same.as |
logical, if TRUE use the same random values of physiological mortality for each year. |
u |
numeric, the selectivity steepness parameter. |
sigma |
numeric, if NULL the parameter is estimated, otherwise a constant is used, see Details. |
binsize |
numeric, span of weight classes in grams. |
winf.ubound |
numeric, the upper bound of asymptotic weight. It is a multiplier of the maximum observed weight. |
equalWinf |
logical, if TRUE estimate one asymptotic weight for all years, if FALSE estimate one for each year. |
probs |
numeric vector of probabilites with values in [0,1] for the uncertainty sample quantiles. |
seed |
numeric, the random number generator seed. |
dirout |
Output directory |
fnout |
Output file name |
... |
Arguments passed to |
sigma paramter for more information see the cited paper.
object of class s6modelResults which is a data.frame with parameter estimates with attributes
confidence levels as sample quantiles
the TMB object of the default value estimation
the optimization output from nlminb
the input options used in the run
all results using default parameters
the random number gernerator used
difftime object with the time needed for the estimation
the s6model
version that produced the results
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.