View source: R/extract.species.R
extract.species | R Documentation |
This function extracts the datasets of one species out of a database filled with species and their occurrence locations.
extract.species(dataset.all.species, species.number)
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. |
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).
This function returns a dataset which contains the species occurrence locations.
Maximilian Lange, Sven Lautenbach
##load data
data(dataset.all.species)
#extract datasets of one species (with speciesID=3) out of database
dataset.one.species <- extract.species(dataset.all.species, 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.