Learn R Programming

ENMTools (version 1.0.5)

point.overlap: Takes two emtools.species objects with range rasters, calculates overlap between them as in Cardillo and Warren 2016

Description

Takes two emtools.species objects with range rasters, calculates overlap between them as in Cardillo and Warren 2016

Usage

point.overlap(x, y)

Arguments

x

An enmtools.species object containing presence points

y

An enmtools.species object containing presence points

Value

A numeric value measuring the overlap between point distributions.

Examples

Run this code
# NOT RUN {
data(iberolacerta.clade)
data(euro.worldclim)
cyreni <- iberolacerta.clade$species$cyreni
monticola <- iberolacerta.clade$species$monticola
if(requireNamespace("fields", quietly = TRUE)) {
    point.overlap(cyreni, monticola)
}
# }

Run the code above in your browser using DataLab