grid_filter {naturaList} | R Documentation |
Filter the occurrence with most confidence in species identification inside grid cells
Description
In each grid cell it selects the occurrence with the highest confidence level
in species identification made by classify_occ
function.
Usage
grid_filter(
occ.cl,
grid.resolution = c(0.5, 0.5),
r = NULL,
institution.code = "institutionCode",
collection.code = "collectionCode",
catalog.number = "catalogNumber",
year = "year",
date.identified = "dateIdentified",
species = "species",
identified.by = "identifiedBy",
decimal.latitude = "decimalLatitude",
decimal.longitude = "decimalLongitude",
basis.of.record = "basisOfRecord",
media.type = "mediaType",
occurrence.id = "occurrenceID",
institution.source,
year.event,
scientific.name,
determined.by,
latitude,
longitude,
basis.of.rec,
occ.id
)
Arguments
occ.cl |
data frame with occurrence records information already
classified by |
grid.resolution |
numeric vector with width and height of grid cell in decimal degrees. |
r |
raster from which the grid cell resolution is derived. |
institution.code |
column name of |
collection.code |
column name of |
catalog.number |
column name of |
year |
Column name of |
date.identified |
Column name of |
species |
column name of |
identified.by |
column name of |
decimal.latitude |
column name of |
decimal.longitude |
column name of |
basis.of.record |
column name with the specific nature of the data record. See details. |
media.type |
column name of |
occurrence.id |
column name of |
institution.source |
deprecated, use |
year.event |
deprecated, use |
scientific.name |
deprecated, use |
determined.by |
deprecated, use |
latitude |
deprecated, use |
longitude |
deprecated, use |
basis.of.rec |
deprecated, use |
occ.id |
deprecated, use |
Value
Data frame with the same columns of occ.cl
.
Author(s)
Arthur V. Rodrigues
See Also
Examples
## Not run:
data("A.setosa")
data("speciaLists")
occ.class <- classify_occ(A.setosa, speciaLists)
occ.grid <- grid_filter(occ.class)
## End(Not run)