plot.iNEXT: Plotting iNEXT object

View source: R/plot.R

plot.iNEXTR Documentation

Plotting iNEXT object

Description

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

Usage

## S3 method for class 'iNEXT'
plot(
  x,
  type = 1,
  se = TRUE,
  show.legend = TRUE,
  show.main = TRUE,
  col = NULL,
  ...
)

Arguments

x

an iNEXT object computed by iNEXT.

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

...

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

Examples

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


JohnsonHsieh/iNEXT documentation built on March 26, 2024, 5:19 a.m.