SplitLengths | R Documentation |
Function SplitLengths extracts from DATRAS the data to produce the IBTS maps with two length ranges for a fix set of species see file SpeciesCodes.csv
SplitLengths(
datSurvey,
dtyear,
dtq,
esp = "HKE",
plot = TRUE,
ti = TRUE,
save.dat = FALSE,
out.dat = FALSE,
zeros = FALSE
)
datSurvey: |
The Survey to be downloaded from DATRAS (see details), or a data frame with the HH information with the DATRAS HH format and the years and quarter selected in years and quarter |
dtyear: |
year to be downloaded and used, had to be available in DATRAS. The time series will be ploted in grey dots, last year in yellow, it depends on the order of years, not the actual chronological year. |
dtq: |
the quarter of the survey to be downloaded |
esp: |
soecies to be included in the resulting map if plot=True |
plot: |
if TRUE a map with the data selected in the species esp is presented |
ti: |
includes a title with the name of the species in the plot |
save.dat: |
by default set to FALSE, if TRUE saves the data in a file: IBTSdataSURVEYyrQX.csv |
out.dat: |
by default set to FALSE, if TRUE gives the data as output of the function |
zeros: |
if TRUE the map includes small points with the hauls with out catch of the species |
Surveys available in DATRAS recent years and not discontinued: EVHOE, FR-CGFS, FR-WCGFS, IE-IAMS, IE-IGFS, NIGFS, NS-IBTS, PT-IBTS, SCOROC, SCOWCGFS, SP-ARSA, SP-NORTH, SP-PORC
during the calculations shows the types of data in the file "C", "P", "R", And the species of the set present in the Survey/year
SplitLengths("NS-IBTS",2023,3,esp="HKE",zeros=T)
SplitLengths("NS-IBTS",2023,3,esp="MEG",zeros=T)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.