Learn R Programming

ggvegan (version 0.0-9)

fortify.prestonfit: Tidied species octave abundance data

Description

Prepares a data frame of results from a fisherfit object suitable for plotting with ggplot.

Usage

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

Arguments

model

an object of class prestonfit

data

original data set. Currently ignored.

...

other arguments pass to methods. Currently ignored.

Value

A data frame with columns 'Octave' and 'Abundance'.

Examples

Run this code
# NOT RUN {
data(BCI)
pfit <- prestonfit(colSums(BCI))
head(fortify(pfit))
# }

Run the code above in your browser using DataLab