rygg | R Documentation |
Rygg's index of diversity is given by
SN = ln(S)/(ln(ln(N)))
The adjusted version of Rygg's index which gives more consistent values
for smaller S=2, N=2, N=3
and S=3, N=3
is
SN = ln(S)/(ln(ln(N+1)+1))
rygg(.data = NULL, taxon, count, adjusted = FALSE) rygg_(.data = NULL, taxon, count, adjusted = FALSE)
.data |
data in a |
taxon |
taxa names ( |
count |
counts ( |
adjusted |
(defaults to |
Rygg's index of diversity (numeric
vector
of length 1)
rygg_()
: version suitable for calling from a function
(see package lazyeval).
Rygg's index is not defined for N=exp(1). For
N <= exp(1), rygg
returns
NA_real_
.
Rygg, B. (2006). Developing indices for quality-status classification of marine soft-bottom fauna in Norway. Norwegian Institute for Water Research, Oslo, Norway. NIVA Report SNO 5208-2006.
rygg( taxon = c("Euspira pulchella", "Nephtys cirrosa"), count = c(4, 6) )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.