gearPlotsHHNS: Function gearPlotsHHNS to plot gear parameters and behaviour

View source: R/gearPlotsHHNS.R

gearPlotsHHNSR Documentation

Function gearPlotsHHNS to plot gear parameters and behaviour

Description

Data are taken directly from DATRAS getting all the data from DATRAS using function getHHdata from library(icesDatras) it only produces plots for surveys with HH files uploaded in DATRAS If there are DoorSpread and WingSpread values in HH records produces four graphs, if only DoorSpread values are available produces only two graphs

Usage

gearPlotsHHNS(
  Survey = "NS-IBTS",
  years,
  quarter,
  country,
  c.inta = 0.5,
  c.intb = 0.5,
  col1 = "darkblue",
  getICES = T,
  pF = T
)

Arguments

Survey:

either 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

years:

years 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.

quarter:

the quarter of the survey to be ploted

c.inta:

the confidence interval to be used in the confint function for long sweeps and for sweeps if there is only one length

c.intb:

the confidence interval to be used in the confint function for short sweeps if there are two

col1:

color for the symbols and lines for the whole set if only one set of sweeps are used, and for the data from the long set of sweeps.

col2:

color for the symbols and lines for the data from the short sweeps in case there are two.

getICES:

Should the data be downloaded from DATRAS? If T, default, the data are taken from DATRAS through the icesDatras package.

pF:

takes out the points and leaves only the lines in the graphs

Details

Surveys available in DATRAS: i.e. SWC-IBTS, ROCKALL, NIGFS, IE-IGFS, SP-PORC, FR-CGFS, EVHOE, SP-NORTH, PT-IBTS and SP-ARSA

Value

Produces a set of 4 or 2 graphs: Warp shot vs. depth, DoorSpread vs. WingSpread, WingSpread vs. Depth, DoorSpread vs. Depth, Vertical Opening vs Depth it also includes information on the ship, the time series used (bottom fourth graph), the models and parameters estimated.

Examples

gearPlotsHHNS("NS-IBTS",2016:2017,3,"GFR")
gearPlotsHHNS("NS-IBTS",2016:2017,1,"DEN")

Franvgls/NeAtlIBTS documentation built on June 13, 2022, 6:26 p.m.