Do some data cleaning on occurrence points

Clean(.data, which = c(1, 2, 3, 4))

Arguments

.data
Internal parameter, do not use in the workflow function. .data is a list of a data frame and a raster object returned from occurrence modules and covariate modules respectively. .data is passed automatically in workflow from the occurrence and covariate modules to the process module(s) and should not be passed by the user.
which
A numeric or character vector describing which data cleaning processes to use (see details).

Details

A number of data cleaning steps are implemented. which takes a (case insensitive) character or numeric vector declaring which should be used:

  • "1 - Impossible"Remove rows with imposisble latitude or longitude values
  • "2 - Incomplete"Remove rows with missing data for either latitude of longitude
  • "3 - Unlikely"Remove rows with unlikely data such as (0, 0)

Version

1.0

Data type

presence-only, presence/absence, abundance, proportion

See also

scrubr::coord_incomplete

Other process: AddRandomUniformPredictors, BackgroundAndCrossvalid, Background, Bootstrap, Crossvalidate, JitterOccurrence, MESSMask, NoProcess, OneHundredBackground, OneThousandBackground, PartitionDisc, StandardiseCov, TargetGroupBackground, Transform, addInteraction

Author

ZOON Developers, zoonproject@gmail.com