plot.Accumulation | R Documentation |
Plot Diversity Accumulation
## S3 method for class 'Accumulation'
plot(
x,
...,
q = dimnames(x$Accumulation)$q[1],
type = "l",
main = "Accumulation of ...",
xlab = "Sample size...",
ylab = "Diversity...",
ylim = NULL,
lineH0 = TRUE,
LineWidth = 2,
ShadeColor = "grey75",
BorderColor = "red"
)
x |
An "Accumulation" object that can be accumulation of diversity ( |
... |
Further plotting arguments. |
q |
The order of Diversity. By default, the first value found in the "Accumulation" object is used. |
type |
Plotting parameter. Default is "l". |
main |
Main title of the plot. |
xlab |
X-axis label. |
ylab |
Y-axis label. |
ylim |
Limits of the Y-axis, as a vector of two numeric values. |
lineH0 |
if |
LineWidth |
Width of the Diversity Accumulation Curve line. |
ShadeColor |
The color of the shaded confidence envelope. |
BorderColor |
The color of the borders of the confidence envelope. |
# Generate a random community
spCommunity <- rSpCommunity(1, size=50, S=3)
# Calculate mixing indices of order 0 and 1
accum <- Mixing(spCommunity, q.seq=c(0,1))
plot(accum, q=0)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.