Fortify method for classes from the iNEXT package.

Share:

Description

Fortify method for classes from the iNEXT package.

Usage

1
2
## 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

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