Chapter 17 The Fishery Data Object
Data
is an object class in the DLMtool that contains all of the fishery information that can be used by the Management Procedure. You find the documentation for the Data
class by typing:
You can see from the documentation that the Data
object, or Fishery Data object, contains many slots, and a lot of information can be stored in this object, including biological parameters, fishery statistics such as time-series of catch, and past management recommendations.
17.1 In the MSE
In the MSE the Fishery Data object is populated with data that is generated by the simulation model. Here the ‘true’ data generated by the model is filtered through the Observation Model (using the Observation parameters) and entered into the Fishery Data object to represent typical fisheries data.
The MSE consists of many hundreds of simulations, and because the DLMtool has been designed for parallel processing, the Fishery Data object in the MSE actually consists of hundreds of ‘versions’ of the simulated fishery data.
The first argument for all Management Procedure functions is x
, which is the position in the Data
object that refers to the data corresponding that particular iteration. In the MSE, the value of x
goes from 1 to the total number of simulations (nsim
).
The second argument for all Management Procedures in the DLMtool is the Data
object.
For example, the arguments to the AvC
MP are:
## function (x, Data, reps = 100, plot = FALSE)
## NULL
The Developing Custom Management Procedures section describes the arguments and internal workings of the Management Procedure functions in more detail.
17.2 Application of Management Procedures Using Real Fisheries Data
In contrast to the MSE, in the real world application of a Management Procedure, we only have one version of the fishery data: the data that has been collected from the fishery.
The Fishery Data object contains all of the fishery information that can be used by a Management Procedure. By definition, many sources of data are not available in data-limited fisheries, and the Fishery Data object may not be completely populated. The DLMtool can be used to determine which of the Management Procedures in the Toolkit are available to be used given the data in the Fishery Data object, which methods cannot be used, and what data are required to make these methods available.