ggiNEXT_beta: 'ggiNEXT_beta': plot the outcome of 'iNEXT_beta' based on the...

Description Usage Arguments Value Examples

View source: R/funs.R

Description

ggiNEXT_beta: plot the outcome of iNEXT_beta based on the ggiNEXT function.

Usage

1
ggiNEXT_beta(output, type = 1)

Arguments

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

x

the outcome of iNEXT_beta

Value

a list containing 2 ggplot2 object, $betaDiv for beta diversity and $diss for dissimilarity

Examples

1
2
3
4
5
data(abundata)
out <- iNEXT_beta(x = abundata, q = c(0,1,2), datatype = "abundance")
ggout1 <- ggiNEXT_beta(output = out, type = 1)
ggout2 <- ggiNEXT_beta(output = out, type = 2)
ggout3 <- ggiNEXT_beta(output = out, type = 3)

YanHanChen/iNEXTBeta documentation built on Nov. 20, 2019, 12:02 a.m.