| bbmFLPar | R Documentation |
This function generates an FLPar object with the input parametes required by the bbm function,
given information on the years, the indices names and the number of iterations.
bbmFLPar(x = NULL, years, namesB, namesP, niter = 1, logscale = FALSE)
x |
Input numeric values for the parameters. If not set, then NA value is assigned. |
years |
Names of the years used for fitting. |
namesB |
Names of the indices of total biomass. |
namesP |
Names of the indices of proportion of recruits in biomass. |
niter |
Number of iterations. |
logscale |
Logical, if TRUE the parameters are in the scale used by the bbm model,
otherwise, all parameters are in the linear scale. This is used for example,
in the vcov matrix retuned from |
An FLPar with the appropriate format for the bbm function.
Leire Ibaibarriaga & Sonia Sanchez.
FLPar, bbm
# Load data data(ane) years.ane <- dimnames(catch.ane)$year niter.ane <- dim(catch.ane)[6] namesB.ane <- names(indicesB.ane) namesP.ane <- names(indicesP.ane) # Generate population estimates, given some estimated parameters pars <- bbmFLPar( years=years.ane, namesB=namesB.ane, namesP=namesP.ane, niter=niter.ane) class(pars) pars
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.