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

View source: R/ggiNEXT.R

fortify.iNEXTR Documentation

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

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

iNEXT documentation built on May 29, 2024, 5:57 a.m.