embabs: Count Embedded Absences

View source: R/Utility_functions.R

embabsR Documentation

Count Embedded Absences

Description

This function counts the nubmer of embedded abscences in a binary matrix to calculate the coherence of a metacommunity

Usage

embabs(x)

Arguments

x

A metacommunity matrix with species as columns and sites as rows

Details

This function counts the number of embedded absences in a sitexspecies matrix following Leibold and Mikkelson 2002.

Examples

meta <- rand_meta(10, 15, 100)
embabs(meta)


trevorjwilli/CommSimABCR documentation built on Feb. 4, 2025, 1:22 a.m.