ranks_OV: Overlaps for each dimension using ranks

View source: R/ranks_OV.R

ranks_OVR Documentation

Overlaps for each dimension using ranks

Description

Function returns the asymmetric overlaps for each dimension, calculated by the method published by Parkinson et al. (2018) using ranks. Further two confidence intervals are returned for each estimate. The confidence level, as well as the repetitions for bootstrap can be adjusted.

Usage

ranks_OV(A = A, alpha = 0.05, reps4boot = 1000, digit = 3)

Arguments

A

Data frame, where the first column contains two objects (e.g. species) and the other columns are numeric vectors (containing measurments).

alpha

The confidence level. Default: alpha = 0.05

reps4boot

Number of repetitions for the bootstrap. . Default: reps4boot = 1000

digit

Number of digits after which the results are cut off. Default: digit = 3

Value

Data Frame containing the two asymmetric overlaps for each dimension together with their confidence intervals. The last row contains the d-dimensional asymmetric overlaps.

Author(s)

Judith H. Parkinson judith.parkinson@sbg.ac.at,
Raoul Kutil Raoul_Hugo.Kutil@stud.sbg.ac.at,
Jonas Kuppler Jonas.Kuppler@uni-duesseldorf.de,
Robert R. Junker Robert.Junker@sbg.ac.at (corresponding author),
Wolfgang Trutschnig Wolfgang.Trutschnig@sbg.ac.at,
Arne Bathke Arne.Bathke@sbg.ac.at

References

Judith H. Parkinson, Raoul Kutil, Jonas Kuppler, Robert R. Junker, Wolfgang Trutschnig, Arne C. Bathke: A Fast and Robust Way to Estimate Overlap of Niches and Draw Inference, International Journal of Biostatistics (2018)

Examples

# example function ranks_OV
data(finch2)
head(finch2)
ranks_OV(finch2[1:4], alpha = 0.05)

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