Learn R Programming

sperich (version 1.4-0)

getShift: Origin Koordinates

Description

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

Usage

getShift(dataset.all.species)

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 occurence location.

Value

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

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