duplicatesexcludeAnalysis: Duplicated records

duplicatesexcludeAnalysisR Documentation

Duplicated records

Description

Duplicated records

Usage

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

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

Details

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

Value

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

Author(s)

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

See Also

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

Examples

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)

occTest documentation built on Nov. 18, 2022, 5:07 p.m.