Learn R Programming

biogeo (version 1.0)

duplicatesexclude: Exclude duplicate point records per species per grid cell

Description

When there is more than one point record per grid cell for a species then the duplicates will be excluded. The grid cell size is specified by res.

Usage

duplicatesexclude(dat,res)

Arguments

dat
a dataframe containing fields with the following names: ID, x, y, Species and Exclude
res
the spatial resolution in minutes

Value

See Also

addmainfields, renamefields, keepmainfields, checkdatastr

Examples

Run this code
a<-duplicatesexclude(dat,res=10)

Run the code above in your browser using DataLab