View source: R/UTILS.abgFunctions.R
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.
1  | divLeinster(spxp, Z = NULL, q = 2, check = TRUE)
 | 
spxp | 
 a site (row) by species (cols)   | 
Z | 
 default   | 
q | 
 default   | 
check | 
 (optional) default   | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.