fortify.anosim | R Documentation |
Prepares a fortified version of results from anosim
objects.
## S3 method for class 'anosim'
fortify(model, data, ...)
model |
an object of class |
data |
original data set. Currently ignored. |
... |
additional arguments for other methods. Currently ignored. |
A data frame with columns Rank
and Class
with ranks of dissimilarity.
Didzis Elferts
data(dune, dune.env)
dune.dist <- vegdist(dune)
dune.ano <- with(dune.env, anosim(dune.dist, Management))
df <- fortify(dune.ano)
ggplot(df, aes(x = Class, y = Rank)) +
geom_boxplot(notch = FALSE, varwidth = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.