Learn R Programming

sads (version 0.2.2)

rad: Rank-abundance data frame

Description

Creates a data frame with ranked abundances of rad-class from a vector of abundances or fitted model object.

Usage

rad(x)

Arguments

x
a numerical vector of abundances or an object of class fitsad or fitrad.

Value

  • an object of rad-class, which is a data frame with two vectors:
  • rankinteger; abundance rank of each species (integer), from most abundant (rank=1) to the least abundant (rank=length(rank))
  • abundnumeric; abundance of each species

References

Whittaker, R. H. 1965, Dominance and Diversity in Land Plant Communities. Science, 147: 250--260.

See Also

rad-class for methods to create a rank-abundance data frame; radpred to get a rad-class object of predicted abundances from a theoretical distribution; fitsad-class and fitrad-class objects, from which you can also get an object of class rad; qqrad for quantile-quantile plots from a rad-class object, and pprad for percentile-percentile plots.

Examples

Run this code
## rank-abundance plot
plot(rad(okland))

Run the code above in your browser using DataLab