fortify.prestonfit: Tidied species octave abundance data

fortify.prestonfitR Documentation

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 class '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'.

Author(s)

Gavin L. Simpson

Examples


data(BCI)
pfit <- prestonfit(colSums(BCI))
head(fortify(pfit))

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