Description Usage Arguments Value Examples
ggiNEXT.link
: the ggplot
extension for iNEXT.link
Object to plot sample-size- and coverage-based rarefaction/extrapolation curves along with a bridging sample completeness curve
1 2 3 4 5 6 7 8 9 10 | ggiNEXT.link(
outcome,
diversity = "TD",
type = 1,
se = TRUE,
facet.var = "Order.q",
color.var = "Assemblage",
text.size = 12,
stript.size = 12
)
|
outcome |
a list object computed by |
type |
three types of plots: sample-size-based rarefaction/extrapolation curve ( |
se |
a logical variable to display confidence interval around the estimated sampling curve. |
facet.var |
create a separate plot for each value of a specified variable:
no separation |
color.var |
create curves in different colors for values of a specified variable:
all curves are in the same color ( |
grey |
a logical variable to display grey and white ggplot2 theme. |
... |
other arguments passed on to methods. Not currently used. |
a ggplot2 object
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | ## Not run:
data(Norfolk)
out1 <- iNEXT.link(Norfolk, diversity = 'TD',datatype = "abundance", nboot = 0)
ggiNEXT.link(outcome = out1, type = 1)
ggiNEXT.link(outcome = out1, type = 2)
ggiNEXT.link(outcome = out1, type = 3)
#' data(puerto.rico)
out2 <- iNEXT.link(puerto.rico$data, diversity = 'PD', datatype="abundance",
row.tree = puerto.rico$row.tree, col.tree = puerto.rico$col.tree)
ggiNEXT.link(outcome = out2, type = 1)
ggiNEXT.link(outcome = out2, type = 2)
ggiNEXT.link(outcome = out2, type = 3)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.