| fortify.prestonfit | R Documentation |
Prepares a data frame of results from a vegan::prestonfit()
object suitable for plotting with ggplot2::ggplot().
## S3 method for class 'prestonfit'
fortify(model, data, ...)
## S3 method for class 'prestonfit'
tidy(x, data, ...)
model, x |
an object of class |
data |
original data set. Currently ignored. |
... |
other arguments pass to methods. Currently ignored. |
A data frame with columns 'Octave'`` and 'Abundance'“.
Gavin L. Simpson
library("vegan")
data(BCI)
pfit <- prestonfit(colSums(BCI))
fortify(pfit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.