Package 'oceanic'

Title: Location Identify Tool
Description: Determine the sea area where the fishing boat operates. The latitude and longitude of geographic coordinates are used to match oceanic areas and economic sea areas. You can plot the distribution map with dotplot() function. Please refer to Flanders Marine Institute (2020) <doi:10.14284/403>.
Authors: shiao chih hao [aut, cre, ctb], chang shu ting [aut, ctb], wang shyh jiun [aut, ctb]
Maintainer: shiao chih hao <[email protected]>
License: GPL (>= 2)
Version: 0.1.7
Built: 2024-12-09 06:53:22 UTC
Source: CRAN

Help Index


dotplot

Description

This function allows you to draw data distribution geographically from a numeric vector.

Usage

dotplot(
  lona,
  lata,
  map = "ALL",
  grid = FALSE,
  color = "#FF0000",
  size = 1,
  shape = 16
)

Arguments

lona

Input the longitude.

lata

Input the latitude.

map

default is "ALL", Other possible options is "PAC", "IND" and "ATL".

grid

default is FALSE, when TRUE show the 5 degree grid.

color

default is "#FF0000", define the color of points.

size

default is 1, define the size of points.

shape

default is 16, define the shape of points.

Value

the plot of lona and lata.

Examples

dotplot(141,23)

Eez Coefficients

Description

Predictor feature coefficients as published in paper.

Usage

eez_rg

Format

eez_rg data.frame with 2 variables: geneName, coef


idfcode

Description

This function allows you to convert the location to 4 digital code

Usage

idfcode(lon, lat)

Arguments

lon

Input the longitude.

lat

Input the latitude.

Examples

idfcode(22,-5)

idfeez

Description

This function allows you to identify location in which EEZ from a numeric vector.

Usage

idfeez(lon, lat, ac = TRUE)

Arguments

lon

Input the longitude.

lat

Input the latitude.

ac

logical. If TRUE will return full name of EEZ.

Examples

idfeez(141,23)

idfland

Description

This function allows you to identify location in which land or ocean.

Usage

idfland(lon, lat)

Arguments

lon

Input the longitude.

lat

Input the latitude.

Examples

idfland(22,-5)

idfocean

Description

Return The Pacific Ocean(PAC), Indian Ocean(IND) or Atlantic Ocean(ATL) of your coordinate.

Usage

idfocean(lon, lat)

Arguments

lon

Input the longitude.

lat

Input the latitude.

Value

the ocean of lon and lat.

Examples

idfocean(125,20)

idfoutliers

Description

This function help you to find out the Outliers

Usage

idfoutliers(x, i = 3, min = 0.25, max = 0.75, na.rm = TRUE)

Arguments

x

Input the data filed(should be a list and the data format must be numeric)

i

Input the multiple of IQR(default is 3)

min

probabilities of values between 0 and 1(default is 0.25)

max

probabilities of values between 0 and 1(default is 0.75)

na.rm

removes the NA values (default value is TRUE)

Examples

dt <- data.frame(x=c(1,1,1,1,1,1,1,1,1,1,10))
idfoutliers(dt$x)

idfport

Description

This function allows you to identify port name from a numeric vector.

Usage

idfport(lon, lat)

Arguments

lon

Input the longitude.

lat

Input the latitude.

Examples

idfport(121.8006,25.14065)

port position

Description

define the position of port in the world

Usage

port

Format

port data.frame with 2 variables: row.names, id


sixtytoten

Description

This function allows you to transfer the coordinate system from sexagesimal to decimal

Usage

sixtytoten(num)

Arguments

num

Input a value of longitude or latitude.

Examples

sixtytoten(121.49)