rankabundance(x,y="",factor="",level,digits=1,t=qt(0.975,df=n-1))
rankabunplot(xr,addit=F,labels="",scale="abundance",scaledx=F,type="o", xlim=c(min(xpos),max(xpos)),ylim=c(0,max(x[,scale])),specnames=c(1:5),...)
rankabuncomp(x,y="",factor,scale="abundance",scaledx=F,type="o",rainbow=T, legend=T,xlim=c(1,max1), ylim=c(0,max2), ...)
rankabundance
. plot
) rankabundance
provides information on abundance, proportional abundance, logarithmic abundance and accumulated proportional abundance. The function also provides confidence interval limits for the proportion of each species (plower, pupper) and the proportion of species ranks (in percentage).
The vertical axis can be scaled by various methods. Method "abundance" uses abundance, "proportion" uses proportional abundance (species abundance / total abundance), "logabun" calculates the logarithm of abundance using base 10 and "accumfreq" accumulates the proportional abundance.
The horizontal axis can be scaled by the total number of species, or by 100 percent of all species by option "scaledx".
The method of calculating the confidence interval for species proportion is described in Hayek and Buzas (1997).
Functions rankabundance
and rankabuncomp
allow to calculate rank abundance curves for subsets of the community and environmental data sets. Function rankabundance
calculates the rank abundance curve for the specified level of a selected environmental variable. Method rankabuncomp
calculates the rank abundance curve for all levels of a selected environmental variable separatedly.
Kindt, R. & Coe, R. (2005) Tree diversity analysis: A manual and software for common statistical methods for ecological and biodiversity studies. http://www.worldagroforestry.org/output/tree-diversity-analysis
library(vegan)
data(dune.env)
data(dune)
RankAbun.1 <- rankabundance(dune)
RankAbun.1
rankabunplot(RankAbun.1,scale='abundance', addit=FALSE, specnames=c(1,2,3))
rankabuncomp(dune, y=dune.env, factor='Management',
scale='proportion', legend=FALSE)
## CLICK IN THE GRAPH TO INDICATE WHERE THE LEGEND NEEDS TO BE PLACED
## IF YOU OPT FOR LEGEND=TRUE.
Run the code above in your browser using DataLab