Description Usage Arguments Details Author(s) References Examples
calculate all diversity indices at the same time,will return a table, each column indicates one index
1 | batch.calculation(mat)
|
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 |
will return a table, each column indicates one index
Youhua Chen <haydi@126.com>
Chen Y (2012) MBI: an R package for calculating multiple-site biodiversity indices. Submitted.
1 2 3 4 5 6 7 8 9 10 11 | 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)
|
cn ct crep crich wnodfT wnodfC
0.35133041 0.24050633 0.16239316 0.46258503 44.70679012 43.35185185
wnodfR wbeta harrison ht wt do
46.06172840 1.42857143 0.04761905 0.00000000 0.00000000 0.95238095
cl msorensen mjaccard mn mt mrep
0.92517007 0.32644218 0.44576720 0.21273848 0.11370370 0.10416226
mrich ml cfull
0.38804233 0.49820239 0.59183673
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.