View source: R/createNonInterpolatedGrid.R
createNonInterpolatedGrid | R Documentation |
This routine creates a grid containing the species occurrences.
createNonInterpolatedGrid(dataset.all.species, dimension,
origin, resolution=1, all.species=-1)
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. |
This routine creates a grid and adds all species mentioned in 'all.species' to it.
A grid containing the species occurrences without interpolation.
Maximilian Lange, Sven Lautenbach
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.
##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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.