create.biol.arrays.Rd
This function generates an FLBiol object, given the data inputs as arrays. Supported formats are Excel (xls and xlsx) and R format (RData).
create.biol.arrays(filename, name = NA, ages, hist.yrs, sim.yrs, fbar = NULL, mean.yrs, excel = TRUE, unit = list())
filename | A character vector with the name of the files containing the stock data.
Supported formats are Excel (xls and xlsx) and R format (RData).
In case of using R format, the information must be stored in |
---|---|
name | A character (optional) with the name of the stock. |
ages | A numeric vector with the age classes of stock. |
hist.yrs | A vector with the historical years. |
sim.yrs | A vector with the simulation years. |
fbar | A numeric vector with the age range (min,max) to be used for estimating average fishing mortality. |
mean.yrs | A vector with the years used to compute the mean to condition the parameters in the projection period. |
excel | Logical. |
unit | A list with the units of the different elements included in |
An FLBiol
.
FLBiol
, create.fleets.arrays