createNonInterpolatedGrid {sperich}R Documentation

Create a species occurrences grid with no interpolation

Description

This routine creates a grid containing the species occurrences.

Usage

createNonInterpolatedGrid(dataset.all.species, dimension, 
			origin, resolution=1, all.species=-1)

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.

dimension

The dimension of the processed grid.

origin

The geographic coordinates of the origin of the grid.

resolution

The resolution of the grid in (geographical) degree.

all.species

The vector with the numbers of the species which should be mentioned. If the first value is -1, all species in the database will be added to the grid.

Details

This routine creates a grid and adds all species mentioned in 'all.species' to it.

Value

A grid containing the species occurrences without interpolation.

Author(s)

Maximilian Lange, Sven Lautenbach

References

Raedig, C., Dorman, C.F., Hildebrandt, A. and Lautenbach, S. (2010). Reassessing Neotropical angiosperm distribution patterns based on monographic data: a geometric interpolation approach. Biodivers Conserv, 19, 1523-1546.

Examples

##load data
data(dataset.all.species)
data(dataset.landwater)

##create grid parameters
dimension <- getDimension(dataset.all.species, resolution=1)
origin <- getOrigin(dataset.all.species)
resolution <- 1
all.species <- -1

##create grid containing species occurrences
species.occurrences <- createNonInterpolatedGrid(dataset.all.species, 
				dimension, origin, resolution, all.species)

[Package sperich version 1.5-9 Index]