grid_filter | R Documentation |
In each grid cell it selects the occurrence with the highest confidence level
in species identification made by classify_occ
function.
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
)
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 |
Data frame with the same columns of occ.cl
.
Arthur V. Rodrigues
classify_occ
## Not run:
data("A.setosa")
data("speciaLists")
occ.class <- classify_occ(A.setosa, speciaLists)
occ.grid <- grid_filter(occ.class)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.