fortify.decorana: Fortify a '"decorana"' object.

fortify.decoranaR Documentation

Fortify a "decorana" object.

Description

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

Usage

## S3 method for class 'decorana'
fortify(model, data, axes = 1:4, display = c("sites", "species"), ...)

Arguments

model

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

data

currently ignored.

axes

numeric; which axis scores are required?

display

character; the scores to extract in the fortified object.

...

additional arguments passed to scores.decorana.

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

data(dune)

sol <- decorana(dune)
head(fortify(sol))
head(fortify(sol, display = "species"))

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