| autoplot.dbrda | R Documentation |
"dbrda"Produces a multi-layer ggplot object representing the output of objects
produced by vegan::dbrda().
## S3 method for class 'dbrda'
autoplot(
object,
axes = c(1, 2),
geom = c("point", "text"),
layers = c("sites", "biplot", "centroids"),
legend.position = "none",
title = NULL,
subtitle = NULL,
caption = NULL,
ylab = NULL,
xlab = NULL,
const = NULL,
arrow.col = "navy",
...
)
object |
an object of class |
axes |
numeric; which axes to plot, given as a vector of length 2. |
geom |
character; which geom to use for the site (sample) scores. One
of |
layers |
character; which scores to plot as layers |
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. |
const |
General scaling constant to |
arrow.col |
colour specification for biplot arrows and their labels. |
... |
Additional arguments passed to the |
TODO
Returns a ggplot object.
Gavin L. Simpson
library("vegan")
data(dune, dune.env)
dune_dbrda <- dbrda(
dune ~ A1 + Moisture + Use + Management,
data = dune.env
)
autoplot(dune_dbrda)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.