Learn R Programming

sperich (version 1.5-8)

getShift: Origin Koordinates

Description

This function calculates the origin of the grid used for a species richness estimation.

Usage

getShift(dataset.all.species)

Value

The coordinates of the origin of the grid used for species richness estimation.

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.

Author

Maximilian Lange, Sven Lautenbach

Details

This function calculates the coordinates of the origin of the grid which should be used for a species richness estimation.

Examples

Run this code
##load data
data(dataset.all.species)

#extract coordinates of origin out of database
shift <- getShift(dataset.all.species)
print(shift)

Run the code above in your browser using DataLab