| autoplot.vegan_pco | R Documentation |
"vegan_pco"Produces a multi-layer ggplot object representing the output of
objects produced by vegan::pco().
## S3 method for class 'vegan_pco'
autoplot(
object,
geom = "point",
legend.position = "right",
title = NULL,
subtitle = NULL,
caption = NULL,
ylab = NULL,
xlab = NULL,
...
)
object |
an object of class |
geom |
character; which geom to use for the site (sample) scores. One
of |
legend.position |
character or two-element numeric vector; where to
position the legend. See |
title |
character; subtitle for the plot. |
subtitle |
character; subtitle for the plot. |
caption |
character; caption for the plot. |
ylab |
character; label for the y-axis. |
xlab |
character; label for the x-axis. |
... |
Additional arguments passed to the |
TODO
Returns a ggplot object.
Gavin L. Simpson
library("vegan")
data(dune)
sol <- pco(dune)
autoplot(sol)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.