View source: R/gearPlotHHN21.dowg.R
gearPlotHHN21.dowg | R Documentation |
Plots Door Spread vs. Wing Spread behaviour and produces a model using lm. If there are DoorSpread and WingSpread values. If there are two different sweeps in the data, produces a model for each sweep length.
gearPlotHHN21.dowg(
Survey = "SP-NORTH",
years = "2021",
quarter = 4,
c.int = 0.9,
c.inta = 0.8,
c.intb = 0.8,
es = TRUE,
col1 = "darkblue",
col2 = "red",
getICES = T,
pF = T,
ti = T
)
getICES: |
Should the data be downloaded from DATRAS? If T, default, the data are taken from DATRAS through the icesDatras package. |
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 |
datHH: |
an HH data object with Survey, Year and Quarter columns, overrides Survey, Years, Quarters |
c.int: |
the confidenc interval to be used in the confint function |
c.inta: |
the confidence interval to be used in the confint function for all data if only one sweep length, and for the short sweeps in case there are two |
c.intb: |
the confidence interval to be used in the confint function for the long set of sweeps. |
es: |
if TRUE all axes, labels and titles are in Spanish, if FALSE in English |
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. |
pF: |
takes out the points and leaves only the lines in the graphs |
ti: |
if F title will not be included automatically and can be addedd later |
Surveys available in DATRAS: i.e. SWC-IBTS, ROCKALL, NIGFS, IE-IGFS, SP-PORC, FR-CGFS, EVHOE, SP-NORTH, PT-IBTS and SP-ARSA
Produces a graph with WingSpread vs. DoorSpread, it also includes information on the ship, the time series used, the models and parameters estimated.
gearPlotHH.dowg("SCOWCGFS",c(2014:2016),1,col1="darkblue",col2="steelblue3")
gearPlotHH.dowg("SCOWCGFS",c(2013:2016),4)
.gearPlotHH.dowg("SCOROC",c(2013:2016),3)
gearPlotHH.dowg("NIGFS",c(2015:2016),1)
gearPlotHH.dowg("NIGFS",c(2006:2007,2009:2016),4)
gearPlotHH.dowg("IE-IGFS",c(2011:2016),4)
gearPlotHH.dowg("SP-PORC",c(2003:2015),3,c.int=.2)
gearPlotHH.dowg("FR-CGFS",c(2016:2018),4)
gearPlotHH.dowg("EVHOE",c(1997:2016),4)
gearPlotHH.dowg("SP-NORTH",c(2014:2016),4,col1="darkblue")
gearPlotHH.dowg("SP-ARSA",c(2014:2016),1,col1="darkblue",col2="steelblue2")
gearPlotHH.dowg("SP-ARSA",c(2014:2016),4)
gearPlotHH.dowg(damb,c(2014:2016),4,getICES=F,pF=F)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.