Prepares a fortified version of results from anosim objects.

# S3 method for anosim
fortify(model, data, ...)

Arguments

model

an object of class anosim.

data

original data set. Currently ignored.

...

additional arguments for other methods. Currently ignored.

Value

A data frame with columns Rank and Class with ranks of dissimilarity.

Author

Didzis Elferts

Examples

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)