plotFishingPoints.bitacora: Plot for fishing points

Description Usage Arguments Value Examples

View source: R/bitacora-class.R

Description

This method takes a bitacora object and plots fishing points.

Usage

1
2
3
4
5
## S3 method for class 'bitacora'
plotFishingPoints(x, language = "spanish", dataType,
  colMap = "khaki1", colFleet = c("red", "blue", "green", "black"),
  cexPointCatch = FALSE, cexPoint = 0.8, cex.axis = 1.2, cexPorts = 0.9,
  ...)

Arguments

x

Object of bitacora class.

language

character. Define the language of text labels in plots, by default is "spanish".

dataType

To indicate the fishing points of the species to be graphed. This could be:

  • "dataAnch" to graphic fishing points of anchovy

  • "dataSar" to graphic fishing points of sardine

  • "dataJur" to graphic fishing points of jack mackerel

  • "dataCab" to graphic fishing points of chub mackerel

  • "dataBon" to graphic fishing points of bonito

  • "dataGroups" to graphic fishing points for other species differences to the five mentioned

  • "dataTotal" to graphic fishing points of all species

colMap

Assigns the color to the land domain. By default is khaki1.

colFleet

A vector. Colouts assigned to each fleet type.

  • "red" for artisanal type fleet (boats with storage capacity between 0 and 10 tons).

  • "blue" for smaller scale type fleet (boats with storage capacity between 10 and 32.5 tons).

  • "green" for industrial wood fleet (boats with storage capacity between 32.5 and 110 tons).

  • "black" for industrial fleet (boats with storage capacity greather than 110 tons).

cexPointCatch

logical. To plot the size of the fishing points according the catch size TRUE or to plot the fishing points without considering the size of the catch FALSE (by default).

cexPoint

The size of the fishing points on the map. By default is 0.8.

cex.axis

The size of the axis on the map. By default is 1.2.

cexPorts

The size of the port names on the map. By default is 0.9.

...

Extra arguments.

Value

A map for fishing points of the data type selected on dataType.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
# Read a example of data base
bitacoraData = system.file("extdata", "bitacoraData.csv", package = "imarpe")

# Create a object of bitacora class
bitacoraObject = getBitacoraData(file = bitacoraData)
class(bitacoraObject)

# Use the parameter dataType = "dataAnch" to graph anchovy fishing points
plotFishingPoints(x = bitacoraObject, language = "spanish", dataType = "dataAnch")

# Use the parameter dataType = "dataCab" to graph chub mackerel fishing points
plotFishingPoints(x = bitacoraObject, language = "spanish", dataType = "dataCab")

imarpe/imarpe documentation built on Aug. 8, 2020, 8:40 p.m.