Evenness: 'Evenness': compute six evenness indices of order q.

Description Usage Arguments Value Examples

View source: R/funs.R

Description

Evenness: compute six evenness indices of order q.

Usage

1
Evenness(data, q = seq(0, 2, 0.1), nboot = 0, conf = 0.95)

Arguments

data

a data.frame, matrix or list of observed species-by-assemblage frequency vector. For the case of only one assemblage (site), dat should be a numeric vector of species frequency.

q

a vector of diversity orders: user must specify a vector (default is from 0 to 2 in an increment of 0.1)

nboot

an integer specifying the number of bootstrap times to build confidence interval. Use 0 to skip bootstrap.

conf

a number between 0 and 1 specifying the confidence level. Default is 0.95.

Value

a list of N dataframes, where N is the number of assemblages (sites). Each data.frame shows the profiles of all six classes of evenness indices listed in Chao and Ricotta (2019) Ecology paper.

Examples

1
2
3
4
data(Alpine)
out1 <- Evenness(data = Alpine)
data(AlpineInt)
out2 <- Evenness(data = AlpineInt,q = seq(0, 2, 0.1), nboot = 50)

YanHanChen/Evenness documentation built on Feb. 1, 2020, 12:53 a.m.