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 |
This function allows you to draw data distribution geographically from a numeric vector.
dotplot( lona, lata, map = "ALL", grid = FALSE, color = "#FF0000", size = 1, shape = 16 )
dotplot( lona, lata, map = "ALL", grid = FALSE, color = "#FF0000", size = 1, shape = 16 )
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. |
the plot of lona
and lata
.
dotplot(141,23)
dotplot(141,23)
Predictor feature coefficients as published in paper.
eez_rg
eez_rg
eez_rg data.frame with 2 variables: geneName
, coef
This function allows you to convert the location to 4 digital code
idfcode(lon, lat)
idfcode(lon, lat)
lon |
Input the longitude. |
lat |
Input the latitude. |
idfcode(22,-5)
idfcode(22,-5)
This function allows you to identify location in which EEZ from a numeric vector.
idfeez(lon, lat, ac = TRUE)
idfeez(lon, lat, ac = TRUE)
lon |
Input the longitude. |
lat |
Input the latitude. |
ac |
logical. If |
idfeez(141,23)
idfeez(141,23)
This function allows you to identify location in which land or ocean.
idfland(lon, lat)
idfland(lon, lat)
lon |
Input the longitude. |
lat |
Input the latitude. |
idfland(22,-5)
idfland(22,-5)
Return The Pacific Ocean(PAC), Indian Ocean(IND) or Atlantic Ocean(ATL) of your coordinate.
idfocean(lon, lat)
idfocean(lon, lat)
lon |
Input the longitude. |
lat |
Input the latitude. |
the ocean of lon
and lat
.
idfocean(125,20)
idfocean(125,20)
This function help you to find out the Outliers
idfoutliers(x, i = 3, min = 0.25, max = 0.75, na.rm = TRUE)
idfoutliers(x, i = 3, min = 0.25, max = 0.75, na.rm = TRUE)
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) |
dt <- data.frame(x=c(1,1,1,1,1,1,1,1,1,1,10)) idfoutliers(dt$x)
dt <- data.frame(x=c(1,1,1,1,1,1,1,1,1,1,10)) idfoutliers(dt$x)
This function allows you to identify port name from a numeric vector.
idfport(lon, lat)
idfport(lon, lat)
lon |
Input the longitude. |
lat |
Input the latitude. |
idfport(121.8006,25.14065)
idfport(121.8006,25.14065)
define the position of port in the world
port
port
port data.frame with 2 variables: row.names
, id
This function allows you to transfer the coordinate system from sexagesimal to decimal
sixtytoten(num)
sixtytoten(num)
num |
Input a value of longitude or latitude. |
sixtytoten(121.49)
sixtytoten(121.49)