fortify.metaMDS | R Documentation |
"mataMDS"
object.Fortifies an object of class "metaMDS"
to produce a
data frame of the selected axis scores in long format, suitable for
plotting with ggplot
.
## S3 method for class 'metaMDS'
fortify(model, data, ...)
model |
an object of class |
data |
currently ignored. |
... |
additional arguments passed to
|
TODO
A data frame in long format containing the ordination scores. The first two components are the axis scores.
Gavin L. Simpson
## load example data
data(dune)
ord <- metaMDS(dune)
head(fortify(ord))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.