background.points.buffer {ENMTools}R Documentation

Takes a set of points, a buffer radius, a sample size, and a mask and returns randomly sampled points from within that buffer radius. Code modified from Elith and Hijmans SDM with R tutorial

Description

NOTE: This function has been replaced by background.buffer.

Usage

background.points.buffer(points, radius, n, mask)

Arguments

points

A two column data frame with X and Y coordinates

radius

Radius for circular buffers to draw around points, in meters.

n

Sample size for number of background points to return

mask

A raster to use as a mask for drawing points

Value

A data frame of points drawn at random from circular buffers around the occurrence points.


[Package ENMTools version 1.1.2 Index]