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

Description Usage Arguments Examples

View source: R/display.R

Description

Fortify method for classes from the iNextPD package.

Usage

1
2
3
## S3 method for class 'iNextPD'
fortify(model, data = model$iNextPDEst, type = 1,
  se = TRUE, ...)

Arguments

model

iNextPD 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).

se

a logical variable to calculate the bootstrap standard error and conf confidence interval.

...

not used by this method

Examples

1
2
3
4
5
6
7
# single-assemblage abundance data
data(bird)
bird.lab <- rownames(bird$abun)
bird.phy <- ade4::newick2phylog(bird$tre)
out1 <- iNextPD(bird$abun$North.site, bird.lab, bird.phy, 
        q=0, datatype="abundance", endpoint=400)
ggplot2::fortify(out1, type=1)

iNextPD documentation built on May 2, 2019, 3:31 a.m.