plot.abc | R Documentation |
This function is a customizable plot for the abundance and biomass lines from the ABC object.
## S4 method for signature 'abc'
plot(x, xlim = c(0, ceiling(log(length(x@abc$Accum.Abund)))),
ylim = c(0, 100), yaxp = c(0, 100, 10), lty.bio = 'dotted',
lty.abu = 'solid', lwd = 2, col.bio = 'black', col.abu = 'black',
xlab = expression('Species Rank'~(Log[e]~Scale)),
ylab = 'Cumulative Dominance %', leg = TRUE, W = TRUE, col.pol = '#f5f5f5',
...)
x |
an object of class |
xlim |
the x limits (x1, x2) of the plot, defaults from 0 to the maximum value of x (in a log scale). |
ylim |
the y limits (x1, x2) of the plot, defaults to |
yaxp |
a vector of the form c(y1, y2, n) giving the coordinates of the extreme tick marks and the number of intervals between tick-marks, defaults to |
lty.bio |
line type of the biomass curve, defaults to |
lty.abu |
line type of the abundance curve, defaults to |
lwd |
the line width, a positive number, defaulting to 2. |
col.bio |
the line color of the biomass curve, defaulting to |
col.abu |
the line color of the abundance curve, defaulting to |
xlab |
a label for the x axis, defaults to |
ylab |
a label for the y axis, defaults to |
leg |
logical; if TRUE draws a legend at the |
W |
logical; if TRUE draws the W statistics value at the |
col.pol |
the polygon filling color, defaults to |
... |
other graphical parameters, see |
The plot produces a two lines plot with a ln abscissa and uses the axis
function, so a complete customization (i.e. side
) of the axes is not possible at this moment.
For more details on other graphic prameters such as line and box types see par
and plot.default
.
Rodrigo Aluizio
Warwick, R.M. (1986). A new method for detecting pollution effects on marine macrobenthic communities. Marine Biology 92 (4), 557-562.
Warwick, R.M., & Clarke, K.R. (1994). Relearning the ABC: taxonomic changes and abundance/biomass relationships in disturbed benthic communities. Marine Biology 118 (4), 739-744.
data(NB)
MyABC <- abc(NB)
plot(MyABC)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.