Learn R Programming

BiodiversityR (version 1.5)

radfitresult: Alternative Rank Abundance Fitting Results

Description

Provides alternative methods of obtaining rank abundance curves than provided by functions radfit, fisherfit and prestonfit (vegan), although these same functions are called.

Usage

radfitresult(x,y="",factor="",level,plotit=T)

Arguments

x
Community data frame with sites as rows, species as columns and species abundance as cell values.
y
Environmental data frame.
factor
Variable of the environmental data frame that defines subsets to calculate fitted rank-abundance curves for.
level
Level of the variable to create the subset to calculate fitted rank-abundance curves.
plotit
Plot the results obtained by plot.radfit .

Value

  • The function returns the results from three methods of fitting rank-abundance curves:
  • radfitresults of radfit.
  • fisherfitresults of fisherfit.
  • prestonfitresults of prestonfit.
  • Optionally, a plot is provided of the radfit results by plot.radfit.

Details

These functions provide some alternative methods of obtaining fitted rank-abundance curves, although functions radfit, fisherfit and prestonfit (vegan) are called to calculate the actual results.

References

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/resources/databases/tree-diversity-analysis

Examples

Run this code
library(vegan)
data(BCI)
BCIall <- t(as.matrix(colSums(BCI)))
radfitresult(BCIall)

Run the code above in your browser using DataLab