fortify.fisherfit: Tidied species rank abundance data and estimated Fisher's...

fortify.fisherfitR Documentation

Tidied species rank abundance data and estimated Fisher's log-series

Description

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

Usage

## S3 method for class 'fisherfit'
fortify(model, data, ...)

Arguments

model

an object of class fisherfit

data

original data set. Currently ignored.

...

other arguments pass to methods. Currently ignored.

Value

A data frame with columns 'Rank' and 'Abundance'. Additionally, Fisher's \alpha and the nuisance parameter are returned as attributes 'alpha' and 'k' respectively.

Author(s)

Gavin L. Simpson

Examples


data(BCI)
mod <- fisherfit(BCI[5,])
head(fortify(mod))

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