hypervolume.overlap: Takes an emtools.species object and environmental layers, and...

View source: R/hypervolume.overlap.R

hypervolume.overlapR Documentation

Takes an emtools.species object and environmental layers, and constructs a hypervolume using the R package hypervolume

Description

Takes an emtools.species object and environmental layers, and constructs a hypervolume using the R package hypervolume

Usage

hypervolume.overlap(
  species.1,
  species.2,
  env = NA,
  reduction.factor = 0.1,
  ...
)

Arguments

species.1

An enmtools.species or enmtools.hypervolume object

species.2

An enmtools.species or enmtools.hypervolume object

env

A stack of environmental rasters, required when enmtools.species objects are passed

reduction.factor

Passed to hypervolume functions

...

Extra parameters to be passed to enmtools.hypervolume

Value

A list containing a set of hypervolume objects and the overlap that was measured between them.

Examples


#install.extras(repos='http://cran.us.r-project.org')
mont <- iberolacerta.clade$species$monticola
cyr <- iberolacerta.clade$species$cyreni
env <- euro.worldclim[[c(1,8,12,17)]]
if(requireNamespace("hypervolume", quietly = TRUE)) {
    hypervolume.overlap(mont, cyr, env = env)
}


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