Learn R Programming

ggvegan (version 0.0-9)

fortify.decorana: 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 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.

Value

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

Details

TODO

Examples

Run this code
# NOT RUN {
data(dune)

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

Run the code above in your browser using DataLab