This function calculates the dimension of the grid which should be used for a species richness estimation.
Usage
getDimension(dataset.all.species, resolution=1)
Arguments
dataset.all.species
A dataset containing all observed species with their ID
(named: speciesID) and the longitude (named: long) and
latitude (named: lat) of their occurence location.
resolution
The resolution of the grid in (geographical) degree.
Value
The dimension which is needed to create a grid used
for a species richness estimation on a given database
of species occurence locations.
Details
This function calculates the dimension of the grid which
should be used for a species richness estimation on a given
database of species occurence locations.
##load datadata(dataset.all.species)
#extract dimension out of the databasedimension <- getDimension(dataset.all.species, resolution=1)
print(dimension)