findEnvOutliers: Find outlying occurrence data in environmental space

View source: R/outliers.R

findEnvOutliersR Documentation

Find outlying occurrence data in environmental space

Description

Environmental outliers

Usage

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

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?

Value

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

Author(s)

Cory Merow <cory.merow@gmail.com>


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