divLeinster: Find cutoff to transform abundance values into binary values

View source: R/UTILS.abgFunctions.R

divLeinsterR Documentation

Find cutoff to transform abundance values into binary values

Description

This function calculates the diversity of each site of a site by species matrix according to the q parameter according to Leinster & Cobbold 2012 Ecology.

Usage

divLeinster(spxp, Z = NULL, q = 2, check = TRUE)

Arguments

spxp

a site (row) by species (cols) matrix with or without rownames and colnames

Z

default NULL.
A species by species similarity matrix

q

default 2.
An integer corresponding to the importance attributed to relative abundances

check

(optional) default TRUE.
If TRUE, the given arguments will be checked


leca-dev/RFate documentation built on Sept. 19, 2024, 6:09 a.m.