Open erosquesada opened 1 year ago
Update WGRDBES-EST 2024
The function was amended during WGRDBES-EST 2024. The main edits were related to:
type = "Spatial"
x resolution = "ICES Rectangle"
combination base version (by = NA) and initiating the work with the parameter by filled. showSamples
parameter. "Region"
should be allowed for the type = "Spatial"
in order to accomodate the plotting of the sampled information against the contrast variable at the resolution of the regions used in the RCG overviews environment. The current output of the function, when compiled as follows, is shown below.
produceSamplingCoverage(
rdbesobj,
var = "SAsampWtLive",
contrastVar = "CLoffWeight",
by = NA,
type = "Spatial",
resolution ="ICES Rectangle",
year = NA,
quarter = NA,
vesselFlag = NA,
catchCat = NA,
showSamples = T,
output_type = NA,
verbose = T
)
This combination (type = "Spatial"
x resolution = "ICES Rectangle"
) still requires to be improvement with regards to:
sciNotation
?) with this regard. by
parameter, with 1+ levels. output_type = table
output. In summary, the type
x resolution
developed so far for this function are:
Spatial
[ ] ICES Subdivision
[x] ICES Rectangle
Time:
[ ] Year
[ ] Semester
[ ] Quarter
[ ] Month
Fleet
[ ] Scale of the fishery (length vessel discriminate large and small)
[ ] Gear [will be needed to extract it from the metier in CL] .
Species:
[ ] Species list
[ ] Group list (e.g. Cephalopods).
With regards to the fleet type
, for future development, please note that @JulBond may provide some useful code.
output from WGRDBES-EST 2023.
This function requires the user to specify data containing the sampling information and a database for contrast (one of landing or effort data). The user should also specify type of comparison and a resolution of the comparison as follows:
The parameters of this function are:
The function output provides information on the distribution of the number of samples versus landing or effort unit across the levels of the factors selected by the user. If output_type == “table” the output is a table. If output_type == “plot” the output is an heatmap. If the type == “effort”, the output consist of one plot illustrating the number of sampled trips versus the number of trips that were performed by the fleet. If the type == “landing”, the output consists of two plots: