pwdSamplePA: Inverted pwdSample for presence-absence data.

Description Usage Arguments Value

Description

Select a subsample of evaluation presence and absence points, each of which is equidistant to the nearest training presence and absence. This *may* help remove bias generated by spatial autocorrelation in the same way that dimso::pwdSample does for presence-only data.

Usage

1
pwdSamplePA(TP, TA, EP, EA, tr = 0.2, max_points = 1000)

Arguments

TP,

TA, EP, EA Spatial points objects: Training and Evaluation, Presence and Absence.

tr

Numeric: maximum threshold difference between an eval point's distance to nearest TA and TP to be considered similar.

max_points

Integer: largest number of solutions to return for evaluation presence and absence points.

Value

A list of two spatial points objects, one for presence evals and one for absence evals.


matthewkling/ecoclim documentation built on May 21, 2019, 1:04 p.m.