dynRB_VPa: Size and pairwise overlap

View source: R/dynRB_VPa.R

dynRB_VPaR Documentation

Size and pairwise overlap

Description

Function returns size and pairwise overlaps of niches or trait-spaces. Size or overlaps of dimensions can be aggregated by using either "product", "mean" or "geometric mean" as aggregation method. The results obtained by using the product are automatically printed. Number of dynamic range boxes (steps) can be adjusted. Default: steps = 201

Usage

dynRB_VPa(A = A, steps = 201, correlogram = FALSE, row_col = c(2, 2), 
          pca.corr = FALSE, var.thres = 0.9)

Arguments

A

Data frame, where the first column is a character vector and the other columns are numeric vectors.

steps

Number of range boxes. Default: steps = 201

correlogram

If TRUE, the correlogram for each species is shown. If FALSE, no correlogram is shown. Default: correlogram = FALSE

row_col

Number of rows and columns of the figures (correlogram for each species). Default: row_col = c(2, 2)

pca.corr

If TRUE, a principal components analysis is performed.

var.thres

Variance predicted by the PCA-axes, if pca.corr = TRUE.

Value

Data frame containing the summarized niche overlap (and volume) for each pair of objects aggregated by all three possible choices (i.e. product, mean, geometric mean).

Author(s)

Manuela Schreyer manuelalarissa.schreyer@sbg.ac.at,
Wolfgang Trutschnig Wolfgang.Trutschnig@sbg.ac.at,
Robert R. Junker Robert.Junker@sbg.ac.at (corresponding author),
Jonas Kuppler Jonas.Kuppler@uni-duesseldorf.de,
Arne Bathke Arne.Bathke@sbg.ac.at

References

Junker RR, Kuppler J, Bathke AC, Schreyer ML, Trutschnig W (2016) Dynamic range boxes - A robust non-parametric approach to quantify size and overlap of n-dimensional hypervolumes. Methods in Ecology and Evolution doi: 10.1111/2041-210X.12611

Examples

# example function dynRB_VPa
# for reliable results use steps = 201
data(finch2)
r<-dynRB_VPa(finch2, steps = 101, correlogram = TRUE, row_col = c(1,1))
r$result

dynRB documentation built on Dec. 8, 2022, 1:11 a.m.