fortify.metaMDS: Fortify a '"mataMDS"' object.

fortify.metaMDSR Documentation

Fortify a "mataMDS" object.

Description

Fortifies an object of class "metaMDS" to produce a data frame of the selected axis scores in long format, suitable for plotting with ggplot.

Usage

## S3 method for class 'metaMDS'
fortify(model, data, ...)

Arguments

model

an object of class "metaMDS", the result of a call to metaMDS.

data

currently ignored.

...

additional arguments passed to scores.metaMDS. Note you can't use display.

Details

TODO

Value

A data frame in long format containing the ordination scores. The first two components are the axis scores.

Author(s)

Gavin L. Simpson

Examples

## load example data
data(dune)

ord <- metaMDS(dune)
head(fortify(ord))

gavinsimpson/ggvegan documentation built on July 28, 2023, 9:24 a.m.