| Spectrum plots | R Documentation |
High-level functions that plot the sum numerical abundance (N) or biomass abundance (B) in equally-spaced log10 body-mass bins.
PlotBSpectrum(community,
lower = min(NP(community, "M"), na.rm = TRUE),
upper = max(NP(community, "M"), na.rm = TRUE),
n.bins = 10,
main = CPS(community)$title,
xlab = Log10MLabel(community),
ylab = Log10BLabel(community),
xlim = NULL,
ylim = NULL,
pch = 19,
show.bin.limits = TRUE,
show.bin.centres = FALSE,
...)
PlotNSpectrum(community,
lower = min(NP(community, "M"), na.rm = TRUE),
upper = max(NP(community, "M"), na.rm = TRUE),
n.bins = 10,
main = CPS(community)$title,
xlab = Log10MLabel(community),
ylab = Log10NLabel(community),
xlim = NULL,
ylim = NULL,
pch = 19,
show.bin.limits = TRUE,
show.bin.centres = FALSE,
...)
community |
an object of class |
lower |
lower bound of the bins. |
upper |
upper bound of the bins. |
n.bins |
the number of bins. |
main |
title of the plot |
xlab |
title of the x axis. |
ylab |
title of the y axis. |
xlim |
limits of the x axis. |
ylim |
limits of the y axis. |
pch |
plotting symbol. |
show.bin.limits |
logical - if |
show.bin.centres |
logical - if |
... |
other values to plot functions. |
A list:
bins |
value returned by the |
lm |
a linear regression fitted through the data. |
Lawrence Hudson
Community,
BodyMassBins,
PlotCircularWeb,
PlotNPS,
PlotNPSDistribution,
PlotRankNPS,
PlotTLPS,
PlotWebByLevel
data(TL84)
PlotNSpectrum(TL84)
PlotBSpectrum(TL84)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.