dynRB_Pn: Pairwise overlaps for each dimension

Description Usage Arguments Value Note Author(s) References Examples

View source: R/dynRB_Pn.R

Description

Function returns pairwise overlaps for each dimension n. Number of dynamic range boxes (steps) can be adjusted. Default: steps = 201

Usage

1
dynRB_Pn(A = A, steps = 201, correlogram = FALSE, row_col = c(2, 2))

Arguments

A

Data frame, where the first column is a character vector containing the objects (e.g. species) and the other columns are numeric vectors (containing measurements).

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)

Value

Data frame containing the summarized overlaps for each pair of objects and dimension.

Note

A tutorial that introduces the functions implemented in the package, explains the outputs, gives examples on how to use the output for follow-up analyses, and finally shows how to visualize the results can be found here: Tutorial dynRB

Author(s)

Manuela Schreyer [email protected],
Wolfgang Trutschnig [email protected],
Robert R. Junker [email protected] (corresponding author),
Jonas Kuppler [email protected],
Arne Bathke [email protected]

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

1
2
3
4
# example function dynRB_Pn
# for reliable results use steps = 201
data(finch2)
r<-dynRB_Pn(finch2, steps = 101)

Example output

[1] 1
[1] 2
[1] 3
[1] 4
                           V1                          V2      BodyL      WingL
1      Geospiza_fortis_fortis      Geospiza_fortis_fortis 1.00000000 1.00000000
2 Geospiza_fuliginosa_parvula      Geospiza_fortis_fortis 0.09174884 0.01271706
3      Geospiza_fortis_fortis Geospiza_fuliginosa_parvula 0.13059691 0.01633225
4 Geospiza_fuliginosa_parvula Geospiza_fuliginosa_parvula 1.00000000 1.00000000
      TailL BeakW BeakH LBeakL UBeakL N.UBkL    TarsusL
1 1.0000000     1     1      1      1      1 1.00000000
2 0.3515644     0     0      0      0      0 0.01850753
3 0.4865529     0     0      0      0      0 0.01980936
4 1.0000000     1     1      1      1      1 1.00000000

dynRB documentation built on June 13, 2018, 5:05 p.m.