PlotRankNPS {cheddar} | R Documentation |
Plot rank of node properties
Description
High-level functions for plotting value-versus-rank of node properties.
Usage
PlotRankNPS(community,
property,
rank.by=property,
log10.rank = FALSE,
xlab,
ylab,
show.web=FALSE,
...)
PlotMvRankM(community,
log10.rank = FALSE,
xlab,
ylab,
...)
PlotNvRankN(community,
log10.rank = FALSE,
xlab,
ylab,
...)
PlotBvRankB(community,
log10.rank = FALSE,
xlab,
ylab,
...)
Arguments
community |
an object of class |
property |
the name of a property that is plotted on the y axis. Must
meet the criteria of the |
rank.by |
the name of a property by which points are ordered along the
x axis. Must meet the criteria of the |
log10.rank |
logical - if |
xlab |
title of the x axis. |
ylab |
title of the y axis. |
show.web |
logical - if |
... |
other values to |
Details
The convenience functions PlotMvRankM
, PlotNvRankN
and
PlotBvRankB
are ‘wrappers’ around PlotRankNPS
that plot rank
log10-transformed body mass (M), numerical abundance (N) or biomass (B).
Author(s)
Lawrence Hudson
See Also
Community
,
NPS
,
PlotBSpectrum
,
PlotCircularWeb
,
PlotNPS
,
PlotNPSDistribution
,
PlotNSpectrum
,
PlotTLPS
,
PlotWebByLevel
Examples
data(TL84)
PlotNvRankN(TL84)
# log10(N) against log10(rank of M)
PlotRankNPS(TL84, property='Log10N', rank.by='M', log10.rank=TRUE)
# The 'POM (detritus)' node in the Ythan Estuary dataset lacks body mass.
par(mfrow=c(1,2))
data(YthanEstuary)
PlotMvRankM(YthanEstuary)
PlotMvRankM(YthanEstuary, show.na=TRUE)