fortify.fisherfit | R Documentation |
Prepares a data frame of results from a fisherfit
object suitable for plotting with ggplot
.
## S3 method for class 'fisherfit'
fortify(model, data, ...)
model |
an object of class |
data |
original data set. Currently ignored. |
... |
other arguments pass to methods. Currently ignored. |
A data frame with columns 'Rank'
and 'Abundance'
. Additionally, Fisher's \alpha
and the nuisance parameter are returned as attributes 'alpha'
and 'k'
respectively.
Gavin L. Simpson
data(BCI)
mod <- fisherfit(BCI[5,])
head(fortify(mod))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.