plotfishery: plotfishery plots an array of data for the fishery.

Description Usage Arguments Value Examples

View source: R/cpueplots.R

Description

plotfishery plots an array of data for the fishery. Including the number of records by depth, the catch-by-cept by zone, the number of vessels by year, the number of records by year, the total catch by all methods, gears, and zones by year, combined with the selected catches-by year, then the selected catches-by-year to increase the y-axis scale if necessary to calrify the total catch < 30kg by year.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
plotfishery(
  InData2,
  Datain,
  spsname = "",
  Ldep = 0,
  Udep = 1000,
  zones = "Zone",
  legpos = "L",
  legval = 0.6
)

Arguments

InData2

is he selected data from selectdata, usually sps1

Datain

is the datasum from makedatasum

spsname

is the original splabel, usually splabel

Ldep

lowest selected depth usually Ldepth, defaults to 0

Udep

deepest selected depth, usually Udepth, defaults to 1000

zones

defaults to 'Zone' to represent the SESSF zones, but if the fishery relates to the Orange Roughy zones then use 'ORzone', and if it relates to the Shark fishery use "SharkRegion'

legpos

defaults to "L", which will put the legend on the left of the plot. Any other entry, such as "R" will place it on the right hand side

legval

defaults to 0.6, which should work for most plots unless the x-axis does not start at 0, in which case a larger value may be required.

Value

currently nothing but this does generate a 3 x 2 plot

Examples

1
2
3
4
## Not run: 
print("still to develop a full example")

## End(Not run)

haddonm/r4cpue documentation built on May 11, 2020, 1:31 a.m.