Learn R Programming

nichetools (version 0.3.2)

extract_overlap: extract overlap

Description

Extract Bayesian estimates of similarities among groups produced by the following function overlap() in the package nicheROVER.

Usage

extract_overlap(data, name_a = NULL, name_b = NULL)

Value

A tibble containing five rows, sample_name_a, id, sample_name_b, sample_number, and niche_overlap.

Arguments

data

a array object containing matrices created by the function overlap() in the package nicheROVER.

name_a

character string to supply for the first sample_name used in overlap(). Defaults to "sample_name_a".

name_b

character string to supply for the second sample_name used in overlap(). Defaults to "sample_name_b".

See Also

nicheROVER::overlap()

Examples

Run this code
extract_overlap(data = over_stat)

Run the code above in your browser using DataLab