Learn R Programming

occTest (version 0.1.1)

duplicatesexcludeAnalysis: Duplicated records

Description

Duplicated records

Usage

duplicatesexcludeAnalysis(
  df,
  xf,
  yf,
  resolution.in.minutes,
  raster.grid = NULL,
  verbose = FALSE
)

Value

list of three components: Dups.Exact = exact duplicate records, Dups.Grid= duplicates within environmental gridcell, continue = dataframe with good records

Arguments

df

Data.frame of species occurrences

xf

the field in the data frame containing the x coordinators

yf

the field in the data frame containing the y coordinates

resolution.in.minutes

the resolution of environmental data used, specified in minutes

raster.grid

An optional raster grid

verbose

logical. Print messages? Default FALSE

Author

Josep M Serra-Diaz (pep.serradiaz@agroparistech.fr)

Details

it differentiates the exact duplicates and the duplicates for a occurrences falling in the same pixel

See Also

Other analysis: .nearestcell3(), centroidDetection(), countryStatusRangeAnalysis(), geoEnvAccuracy(), humanDetection()

Examples

Run this code
k <- data.frame (x=c(runif (n = 100),1000),y=c(runif (n = 100),1000),Reason=NA)
duplicatesexcludeAnalysis(k,xf='x',yf='y',resolution.in.minutes=60)

Run the code above in your browser using DataLab