Description Usage Arguments Value Examples
View source: R/bitacora-class.R
This method takes a bitacora
object and plots fishing points.
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,
...)
|
x |
Object of |
language |
|
dataType |
To indicate the fishing points of the species to be graphed. This could be:
|
colMap |
Assigns the color to the land domain. By default is |
colFleet |
A vector. Colouts assigned to each fleet type.
|
cexPointCatch |
|
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. |
A map for fishing points of the data type selected on dataType
.
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")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.