divLeinster: Site diversity according to Leinster & Cobbold 2012.

View source: R/abgFunctions_modCeres.R

divLeinsterR Documentation

Site diversity according to Leinster & Cobbold 2012.

Description

divLeinster calculates the diversity of each site of a site by species matrix according to the q parameter (which provide more or less weight to species abundance), following Leinster & Cobbold 2012.

Usage

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

Arguments

spxp

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

Z

similarity matrix used into all functions.

q

parameter influencing the weight of species abundances on diversity calcualtions as per Leinster & Cobbold 2012.

check

should arguments be checked?


CeresBarros/ToolsCB documentation built on Aug. 23, 2024, 4:22 p.m.