change_pop_bin {ss3sim} | R Documentation |
Set up population length bin structure
Description
The population length bins in Stock Synthesis structure size data and
empirical weight-at-age data.
change_pop_bin
changes the data file to contain
specifications to create a vector (length-bin method of 2) rather than
the actual bins from the length data (length-bin method of 1) or
an actual vector (length-bin method of 3).
Usage
change_pop_bin(dat_list, binwidth = NULL, minimum_size = NULL,
maximum_size = NULL, maximum_age = NULL)
Arguments
dat_list |
An SS data list object as read in from
|
binwidth |
A numeric value specifying the width of the size bins. |
minimum_size |
The smallest size bin. |
maximum_size |
The largest size bin. |
maximum_age |
The highest age. Used to structure the maximum age of the population and the ageing-error matrix, which will be assumed to have no bias and maximum precision for any added ages. |
Details
The only required argument is dat_list
and the remaining arguments
default to a value of NULL
, which leads to the data file not being
changed.
Value
A modified Stock Synthesis data file in list form. The list is only returned if it is assigned to an object.