This function returns a dataset which contains the 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.
species.number
The number of the species which should be extracted.
Author
Maximilian Lange, Sven Lautenbach
Details
This function extracts the datasets of one species out of a database
filled with species (named by their speciesID) and their occurrence
locations mentioned with lattitude (named lat) and longitude (named long).
##load datadata(dataset.all.species)
#extract datasets of one species (with speciesID=3) out of databasedataset.one.species <- extract.species(dataset.all.species, 3)