Learn R Programming

occTest (version 0.1.1)

findSpatialOutliers: Find outlying occurrence data in geographical space

Description

Divide raster by the sum of all cells.

Usage

findSpatialOutliers(myPres, pvalSet = 1e-05, checkPairs = TRUE, verbose = TRUE)

Value

a numeric vector indicating which rows are spatial outliers.

Arguments

myPres

raster* object

pvalSet

numeric. p value set to identify outliers

checkPairs

logical.

verbose

logical. print messages

Author

Cory Merow

Examples

Run this code
 
k <- data.frame (x=c(runif (n = 100),1000),y=c(runif (n = 100),1000))
k <- sp::SpatialPoints(k)
occTest::findSpatialOutliers(k)

Run the code above in your browser using DataLab