| rad-class | R Documentation |
"rad" for rank-abundance dataData frame of ranked abundances of species
## S4 method for signature 'rad'
lines(x, prop=FALSE, ...)
## S4 method for signature 'rad'
plot(x, prop=FALSE, ...)
## S4 method for signature 'rad'
points(x, prop=FALSE, ...)
x |
an object of class |
prop |
logical; if TRUE relative abundances are returned. |
... |
further parameters to be passed to |
Objects can be created by calls of the form new("rad", ...), but
most often by a call to rad or radpred.
.Data:Object of class "list"; a data frame of
two vectors: abundance rank of each species (integer), from most abundant
(rank=1) to the least abundant (rank=length(rank)); abundance of each
species (numeric)
names:Object of class "character"; names of
the two vectors of .Data, "rank" and "abund", respectively.
row.names:Object of class
"data.frameRowLabels"; default line names for .Data;
integer indexes from 1 to nrow(.Data).
.S3Class:Object of class "character";
indicates inheritance from S3 class data.frame.
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.
signature(x = "rad"): adds rank-abundance data
contained in the object as lines in rank-abundance plots created by
plot method.
signature(x = "rad", y = "ANY"): creates a
rank-abundance plot from data in the object.
signature(x = "rad"): adds rank-abundance data
contained in the object as points in rank-abundance plots created by
plot method.
signature(x = "rad", rad = "character", coef =
"list"): percentile-percentile plot, see pprad.
signature(x = "rad", rad = "character", coef =
"list", trunc = "ANY"): quantile-quantile plot, see
qqrad.
Paulo I. Prado prado@ib.usp.br and Murilo Dantas Miranda
Whittaker, R. H. 1965, Dominance and Diversity in Land Plant Communities. Science, 147: 250–260.
rad to get an object of the class from a vector
of abundances or from an histogram; 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.
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.