Learn R Programming

sads (version 0.2.2)

rad-class: Class "rad" for rank-abundance data

Description

Data frame of ranked abundances of species

Arguments

Objects from the Class

Objects can be created by calls of the form new("rad", ...), but most often by a call to rad or radpred.

Extends

Class "data.frame", directly. Class "list", by class "data.frame", distance 2. Class "oldClass", by class "data.frame", distance 2. Class "vector", by class "data.frame", distance 3.

References

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

See Also

rad to get an object of the class from a vector of abundances; radpred to get a rad-class object of predicted abundances from a theoretical distribution, qqrad for quantile-quantile plots from a rad-class object, and pprad for percentile-percentile plots.

Examples

Run this code
## Creates a rad object from a vector of abundances
birds.rad <- rad(birds)

## Rank-abundance plot
plot(birds.rad)

## Same, with non-default graphical parameters
plot(birds.rad, pch=19, xlab="Abundance rank of species")

## Adding points from another data set
points(rad(okland), pch=19)

Run the code above in your browser using DataLab