Learn R Programming

agricolae (version 1.0-4)

index.bio: Biodiversity Indices

Description

Scientists use a formula called the biodiversity index to describe the amount of species diversity in a given area.

Usage

index.bio(data, method = c("Margalef", "Simpson.Dom", "Simpson.Div", 
"Berger.Parker", "McIntosh", "Shannon"),level = 95, nboot = 500, noprint=FALSE)

Arguments

data
number of specimens
method
Describe method bio-diversity
level
Significant level
nboot
size bootstrap
noprint

Value

  • datavector
  • methodmethod bio-diversity
  • levelvalue 0-100 percentage
  • nbootsize 100, 500,...

Details

method bio-diversity "Margalef" "Simpson.Dom" "Simpson.Div" "Berger.Parker" "McIntosh" "Shannon"

Examples

Run this code
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=200)
output2 <- index.bio(specimens,method="Shannon",level=95,nboot=200)
rbind(output1, output2)

Run the code above in your browser using DataLab