radfitresult {BiodiversityR} | R Documentation |
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 |
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.
Value
The function returns the results from three methods of fitting rank-abundance curves:
radfit |
results of |
fisherfit |
results of |
prestonfit |
results of |
Optionally, a plot is provided of the radfit
results by plot.radfit
.
Author(s)
Roeland Kindt (World Agroforestry Centre)
References
Kindt, R. & Coe, R. (2005) Tree diversity analysis: A manual and software for common statistical methods for ecological and biodiversity studies.
https://www.worldagroforestry.org/output/tree-diversity-analysis
Examples
library(vegan)
data(BCI)
BCIall <- t(as.matrix(colSums(BCI)))
radfitresult(BCIall)