richnessmap: Map of the number of species or number of records per grid...

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Creates a raster map of the number of species or number of records per grid cell

Usage

1
richnessmap(dat, rst, option = "richness")

Arguments

dat

a dataframe containing fields with the following names: ID, x, y, Species, x_original, y_original, Correction, Modified, Exclude

rst

a raster object

option

"richness" gives species richness and "records" gives total number of records per grid cell

Details

grid cells are based on rst

Value

a raster object containing species richness or numbers of records per grid cell

Author(s)

Mark Robertson

See Also

pointsworld

Examples

1
2
3
4
5
6
## Not run: 
dem<-raster(dem,xmn=-180, xmx=180, ymn=-60, ymx=90)
rich<-richnessmap(dat,dem,option="richness")
nrec<-richnessmap(dat,dem,option="records")

## End(Not run)

biogeo documentation built on May 1, 2019, 8:05 p.m.