create_biodata.Rd
This function creates a data list that contains remaining biological data for a stock assessment
create_biodata(
nsex = 1,
narea = 1,
ages,
years,
length_bin,
mid_length_bin,
nbin,
bin_width,
length_CV,
annual_weight_path,
monthly_weight_path,
species,
species_labels,
skip_nrows,
lw_a = 0.01,
lw_b = 3,
k,
t0 = -0.1,
winf,
maturity_at_age,
natural_mortality_at_age
)
Number of sexes of the species.
Number of areas.
A vector of ages.
A vector of years for extracting EwE data.
A vector of length bins.
A vector of middle point of the length bins.
Total number of bins.
Width of bins.
CV about length.
A character string shows path to Ecosim annual weight-at-age output file is located.
A character string shows path to Ecosim monthly weight-at-age output file is located.
The species to create fishery for. A vector of column names from the catch_annual.csv.
Customized names for species columns.
integer; the number of lines of the data file to skip before reading data.
Length-weight coefficients a. W=a*L^b. Default EwE value is 0.01.
Length-weight coefficients b. W=a*L^b. Default EwE value is 3.
Growth rate parameter of the von Bertalanffy model.
Theoretical age at size 0. Default EwE value is -0.1.
Asymptotic average weight. EwE weight-at-age calculated as Wa = (1-exp(k*age))^3.
A vector of maturity-at-age value or time-varying maturity-at-age matrix with rows present years and columns represent ages.
A vector of natural mortality-at-age value or time-varying natural mortality-at-age matrix with rows present years and columns represent ages.
A data list that includes biological data for set up a stock assessment.
The function takes EwE input or output data to create weight-at-age matrix, maturity-at-age matrix,
Other create_data functions:
create_fishery()