This function calculates the dimension of the grid which should be used for a species richness estimation.
Usage
getDimension(dataset.all.species, resolution=1)
Value
The dimension which is needed to create a grid used
for a species richness estimation on a given database
of species occurrence locations.
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 occurrence location.
resolution
The resolution of the grid in (geographical) degree.
Author
Maximilian Lange, Sven Lautenbach
Details
This function calculates the dimension of the grid which
should be used for a species richness estimation on a given
database of species occurrence locations.
##load datadata(dataset.all.species)
#extract dimension out of the databasedimension <- getDimension(dataset.all.species, resolution=1)
print(dimension)