Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

batch.calculation

calculate all diversity indices at the same time


Description

calculate all diversity indices at the same time,will return a table, each column indicates one index

Usage

batch.calculation(mat)

Arguments

mat

mat can be in a form of a single matrix, or a list of matrices for batch handling.

rows of the data are sites, while columns of the data are species

Details

will return a table, each column indicates one index

Author(s)

Youhua Chen <haydi@126.com>

References

Chen Y (2012) MBI: an R package for calculating multiple-site biodiversity indices. Submitted.

Examples

test<-c(90,30,11,5,100,46,19,70,19,1,
        17,0,0,0,30,4,20,26,12,5,37,
		0,25,0,60,30,29,42,36,19,32,
		12,0,0,50,6,39,35,18,0,35,0,
		28,0,70,35,56,49,42,0,81,15,
		36,0,90,45,72,63,54,9,13,0,
		0,5,20,1,4,0,0,0,0,0,0,0,10,
		0,0,0,41,4,72,24,7,0,80,1,64,
		56,48,0,36,0,29,0,40,32,32,2,0,0)
test<-matrix(test,10,10)
batch.calculation(test)

MBI

(M)ultiple-site (B)iodiversity (I)ndices Calculator

v1.0
GPL-2
Authors
Youhua Chen
Initial release
2012-10-17

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.