Learn R Programming

iNEXT (version 2.0.8)

fortify.iNEXT: Fortify method for classes from the iNEXT package.

Description

Fortify method for classes from the iNEXT package.

Usage

## S3 method for class 'iNEXT':
fortify(model, data = model$iNextEst, type = 1, ...)

Arguments

model
iNEXT to convert into a dataframe.
data
not used by this method
type
three types of plots: sample-size-based rarefaction/extrapolation curve (type = 1); sample completeness curve (type = 2); coverage-based rarefaction/extrapolation curve (type = 3).
...
not used by this method

Examples

Run this code
data(spider)
# single-assemblage abundance data
out1 <- iNEXT(spider$Girdled, q=0, datatype="abundance")
ggplot2::fortify(out1, type=1)

Run the code above in your browser using DataLab