Output is a data frame of thinned occurences (all occurences at a
distance >thinDist) with the same columns as occs
Arguments
occs
data frame of cleaned occurrences obtained from component occs:
Obtain occurrence data
thinDist
distance in kilometers to be used for thinning. Number must be
positive.
logger
Stores all notification messages to be displayed in the Log
Window of Wallace GUI. Insert the logger reactive list here for running
in shiny, otherwise leave the default NULL.
spN
data frame of cleaned occurrences obtained from component occs:
Obtain occurrence data. Used to obtain species name for logger messages.
Author
Jamie Kass <jamie.m.kass@gmail.com>
Gonzalo E. Pinilla-Buitrago <gepinillab@gmail.com>
Details
This function is called by the component poccs: process occurrence data to
thin the occurrence data to a user specified distance. Providing an output
with preserved columns appropriate for further analyses and a maximized
number of occurrences that are separated by at least the provided distance.