It requires a data.frame with three columns, ordered as: species, longitude
and latitude. The function will plot and return a raster object. The
resolution of the grid can be changed by the argument "resolution" (in
degrees). It uses functions of the package raster.
Value
A raster object.
Author(s)
Marcelo Reginato
See Also
raster
Examples
## loading the example data
data(monographaR_examples)
monographaR_examples$map_data -> data
head(data)
## running the function
mapDiversity(data , resolution=1, plot=TRUE, plot.with.grid=TRUE)