spatFilter: Filters a set of points based on a probability map.

Description Usage Arguments Value Author(s)

View source: R/spatFilter.R

Description

This function rarefies a set of points using a raster map of probabilities of a point persisting in that location.

Usage

1
spatFilter(points, MAP, Nclass = FALSE)

Arguments

points

data frame containing columns 'y' and 'x' (spatial coordinates on projected coordinate system).

MAP

object of class RasterLayer. Map of probability [0;1] of a point to persist in any pixel.

Nclass

optional number of classes into which MAP is going to be binned (quantile-based). This can be useful if the probability distribution of MAP is highly skewed.

Value

data frame with same structure as 'points' but with less rows (points).

Author(s)

Luca Butikofer


Biolinv documentation built on March 30, 2021, 5:13 p.m.

Related to spatFilter in Biolinv...