Base class providing common interface and parammeters for all algorithms
Public fields
biological_params
biological parameters list
explotation_params
exploitation parameters list
catch_data
list with a long and wide catch dataframe
Methods
Method new()
Initialise the class
Usage
Lbms$new(
biological_params = NULL,
explotation_params = NULL,
catch_data = NULL
)
Arguments
biological_params
biological parameters list
explotation_params
exploitation parameters list
icatch_data
list with a long and wide catch dataframe
Method prepare_catch_data()
It prepares the length frequency data for the algorithm digestion
Usage
Lbms$prepare_catch_data(data)
Arguments
data
a wide dataframe with lengths as rows and timestep as columns
Method transpose()
Usage
Lbms$transpose(data, row_as_numeric = TRUE, as_matrix = TRUE)
Method df_to_unname_matrix()
Usage
Lbms$df_to_unname_matrix(data, from_col = NULL, to_col = NULL)
Method clone()
The objects of this class are cloneable with this method.
Arguments
deep
Whether to make a deep clone.