overlap_random: Overlap analyses for random sampled data

View source: R/overlap_random.R

overlap_randomR Documentation

Overlap analyses for random sampled data

Description

overlap_random performs analyses of overlap on ellipsoidal objects derived from random samples of their background.

Usage

overlap_random(background, sample_size, method, level, overlap_type = "all",
               replicates = 1000)

Arguments

background

list containing the backgrounds to be used. If overlap_type = "all", background for "full" overlap must be first, and background for "union" overlap, second.

sample_size

(numeric) vector of sample sizes for the species under analyses that should be sampled in each replicate.

method

(character) vector of methods to construct the ellipsoids that characterize the species ecological niches.

level

(numeric) vector of the confidence levels of a pairwise confidence region for the ellipsoids, expresed as percentage.

overlap_type

(character) type of overlap to be measured. Options are: "all", "full", and "back_union". Default = "all". See details.

replicates

(numeric) number of replicates to be performed during the significance test; default = 1000.

Details

Details about the method can be revised in ellipsoid_fit.

Details about the overlap analyses can be checked in ellipsoid_overlap.

Value

A list of data.frames with the overlap metrics calculated for each replicate, according to the overlap_type selected.


marlonecobos/ellipsenm documentation built on Oct. 18, 2023, 8:09 a.m.