Scientists use a formula called the biodiversity index to describe the amount of species diversity in a given area.
index.bio( data, method = c("Margalef", "Simpson.Dom", "Simpson.Div", "Berger.Parker", "McIntosh", "Shannon"), level = 95, nboot = 100, console = TRUE )
data | number of specimens |
---|---|
method | Describe method bio-diversity |
level | Significant level |
nboot | size bootstrap |
console | output console TRUE |
Index and confidence intervals.
method bio-diversity. "Margalef" "Simpson.Dom" "Simpson.Div" "Berger.Parker" "McIntosh" "Shannon"
Magurran, A.E. (1988) Ecological diversity and its measurement. Princeton University Press Efron, B., Tibshirani, R. (1993) An Introduction to the Boostrap. Chapman and Hall/CRC
library(agricolae) data(paracsho) # date 22-06-05 and treatment CON = application with insecticide specimens <- paracsho[1:10,6] output1 <- index.bio(specimens,method="Simpson.Div",level=95,nboot=100)#> #> Method: Simpson.Div #> #> The index: 0.82 #> #> 95 percent confidence interval: #> 0.8 ; 0.8906336 #>output2 <- index.bio(specimens,method="Shannon",level=95,nboot=100)#> #> Method: Shannon #> #> The index: 2.865957 #> #> 95 percent confidence interval: #> 2.790793 ; 3.321928 #>#> method index confidence lic lsc nboot #> 1 Simpson.Div 0.820000 95 0.800000 0.8906336 100 #> 2 Shannon 2.865957 95 2.790793 3.3219281 100