Learn R Programming

biogeo (version 1.0)

precisioncheck: Check the precision of the coordinates

Description

Checks the precision of the coordinates to determine whether the coordinate fall exactly at the centre or exactly on top left corner of a grid cell of a particular spatial resolution e.g. 30 minute.

Usage

precisioncheck(dat, x = "x", y = "y", s, e)

Arguments

dat
a dataframe containing fields with the following names: ID, x, y, Species, x_original, y_original, Correction, Modified, Exclude
x
name of the x-coordinate in decimal degrees
y
name of the y-coordinate in decimal degrees
s
start spatial resolution in minutes e.g. 10 min
e
end spatial resolution in minutes e.g. 30 min

Value

Details

Grid cells of sizes corresponding to the start spatial resolution an increasing by 5 minutes up to the end spatial resolution will be considered.

See Also

errorcheck

Examples

Run this code
precisioncheck(dat, x = "x", y = "y", s=10, e=30)

Run the code above in your browser using DataLab