gearPlotHHNS.wrpdp: Function gearPlotHHNS.wrpdp plots warp length vs. Depth...

View source: R/gearPlotHHNS.wrpdp.R

gearPlotHHNS.wrpdpR Documentation

Function gearPlotHHNS.wrpdp plots warp length vs. Depth behaviour

Description

Produces a warplength vs. DoorSpread plot and a model with lm unction. Data are taken directly from DATRAS using function getHHdata from library(icesDatras) It only produces plots for surveys with HH files uploaded in DATRAS Since sweeps length does not affect the warp that is decided by the chief scientist, there are no differences depending on sweeps

Usage

gearPlotHHNS.wrpdp(
  Survey = "NS-IBTS",
  years,
  quarter,
  country,
  line = T,
  c.inta = 0.85,
  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 steelblue2, it depends on the order of years, not the actual chronological year.

quarter:

the quarter of the survey to be ploted

country:

The country chosen to be plotted (checks if it's available in the HH file)

line:

includes a regression line between Warp and depth and the formula of the linear regression. If F the line is omited

c.inta:

the confidence interval to be used in the predict.lm function

col1:

the color of the points, last year fill and previous years empty symbol

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 graph Warp length vs. Depth for the years selected.

Examples

gearPlotHHNS.wrpdp("NS-IBTS",c(2014:2017),1,"SWE")

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