## Not run:
# data(DiversityData)
# # Type (1) abundance data
# Diversity(DiversityData$Abu,"abundance",q=c(0,0.5,1,1.5,2))
# # Type (1A) abundance-frequency counts data
# Diversity(DiversityData$Abu_count,"abundance_freq_count",q=seq(0,3,by=0.5))
# # Type (2) incidence-frequency data
# Diversity(DiversityData$Inci,"incidence_freq",q=NULL)
# # Type (2A) incidence-frequency counts data
# Diversity(DiversityData$Inci_freq_count,"incidence_freq_count",q=NULL)
# # Type (2B) incidence-raw data
# Diversity(DiversityData$Inci_raw,"incidence_raw",q=NULL)
# ## End(Not run)
Run the code above in your browser using DataLab