avail.pts: Create random, available points for RSF/SDM

View source: R/avail.pts.R

avail.ptsR Documentation

Create random, available points for RSF/SDM

Description

This function creates random, available (i,e, pseudo-absence) points that are within a specified polygon. The created points conform to a user-specified proximity rule, i.e., points are not created within a specified minimum distance from each other or the original used points.

Usage

avail.pts(used, poly, dist = NULL, mult = 1)

Arguments

used

SpatialPointsDataFrame, the used (i.e., presence) points.

poly

SpatialPolygonsDataFrame, the area within which random, available points are generated.

dist

Scalar, passed to ecoinfo::remove.near. The minimum distance output points can be from the used points, and from each other. Unit is meters for projected coordinate systems.

mult

Scalar, the ratio of available points to used points. 1 for a balanced design, 2 for twice as many available points.

Value

A SpatialPointsDataFrame of random, available (i.e., pseudo-absence) points.

Author(s)

Shannon E. Albeke and Jason D. Carlisle, University of Wyoming


jcarlis3/ecoinfo documentation built on Sept. 9, 2023, 1:46 p.m.