50% off | Unlimited Data & AI Learning

Last chance! 50% off unlimited learning

Sale ends in


occTest (version 0.1.1)

findEnvOutliers: Find outlying occurrence data in environmental space

Description

Environmental outliers

Usage

findEnvOutliers(
  myPres,
  myEnv = NULL,
  pvalSet = 1e-05,
  checkPairs = FALSE,
  verbose = TRUE
)

Value

Returns a list of SpatialPointsDataFrames with (1) good presence points (2) spatial outliers and (3) environmental outliers.

Arguments

myPres

a `SpatialPointsDataFrame`

myEnv

a `RasterStack` of env layers. If NULL, it is assumed that `myPres` is a data.frame of the environmental values (columns) at presence locations (rows)

pvalSet

numeric; p-value used in Grubb's test for outlier (see package `outliers`)

checkPairs

logical. Default to FALSE (TRUE not implemented).

verbose

logic. Should messages be printed out?

Author

Cory Merow <cory.merow@gmail.com>