background.points.buffer: Takes a set of points, a buffer radius, a sample size, and a...

View source: R/background.points.buffer.R

background.points.bufferR 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.


ENMTools documentation built on April 11, 2023, 6:09 p.m.