plot.iNextPD: Plotting iNextPD object

Description Usage Arguments Examples

View source: R/display.R

Description

plot.iNextPD: Plotting method for objects inheriting from class "iNextPD"

Usage

1
2
3
## S3 method for class 'iNextPD'
plot(x, type = 1, se = TRUE, show.legend = TRUE,
  show.main = TRUE, col = NULL, xlab = NULL, ylab = NULL, ...)

Arguments

x

an iNextPD object computed by iNextPD.

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 display confidence interval around the estimated sampling curve.

show.legend

a logical variable to display legend.

show.main

a logical variable to display title.

col

a vector for plotting color.

xlab

a title for the x axis.

ylab

a title for the y axis.

...

arguments to be passed to methods, such as graphical parameters (par).

Examples

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

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