extract.species {sperich} | R Documentation |
Species Extraktion
Description
This function extracts the datasets of one species out of a database filled with species and their occurrence locations.
Usage
extract.species(dataset.all.species, species.number)
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. |
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).
Value
This function returns a dataset which contains the species occurrence locations.
Author(s)
Maximilian Lange, Sven Lautenbach
Examples
##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)
[Package sperich version 1.5-9 Index]