autoplot.poolaccum | R Documentation |
"poolaccum"
Produces a multi-layer ggplot object representing the output of objects
produced by poolaccum
.
## S3 method for class 'poolaccum'
autoplot(
object,
facet = TRUE,
ribbon = facet,
ncol = NULL,
ribbon.alpha = 0.3,
xlab = "Size",
ylab = "Richness",
title = "Accumulated species richness",
subtitle = NULL,
caption = NULL,
...
)
object |
an object of class |
facet |
logical; should extrapolated richness estimators be shown in separate facets? |
ribbon |
logical; show the quantile-based uncertainty interval? Uses
|
ncol |
numeric; if facetting the plot, how many columns to use. Default arguuments will result in three columns. |
ribbon.alpha |
numeric; alpha transparency used for the uncertainty
interval. Passed to the |
xlab |
character; label for the x axis. |
ylab |
character; label for the y axis. |
title |
character; title for the plot. |
subtitle |
character; subtitle for the plot. |
caption |
character; caption for the plot. |
... |
additional arguments passed to |
A ggplot object.
Didzis Elferts & Gavin L. Simpson
data(BCI)
pool <- poolaccum(BCI)
autoplot(pool)
## Turn off facetting; turns off ribbon too
autoplot(pool, facet = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.