specaccum
finds species accumulation curves or the
number of species for a certain number of sampled sites or
individuals.specaccum(comm, method = "exact", permutations = 100, ...)
## S3 method for class 'specaccum':
plot(x, add = FALSE, ci = 2, ci.type = c("bar", "line", "polygon"),
col = par("fg"), ci.col = col, ci.lty = 1, xlab = "Sites",
ylab = x$method, ...)
## S3 method for class 'specaccum':
boxplot(x, add = FALSE, ...)
"collector"
adds sites in the order they happen to be in the data,
"random"
adds sites in random order, "exact"
finds the
expected (mean) species rimethod =
"random"
.specaccum
result objectci = 0
suppresses drawing confidence intervals."bar"
draws vertical bars, "line"
draws lines, and
"polygon"
draws a shaded area."polygon"
."polygon"
.x
and y
axis."specaccum"
with items:method = "rarefaction"
this
is the average number of sites corresponding to a certain number of
individuals.method = "collector"
this is the observed
richness, for other methods the average or expected richness.NULL
in method = "collector"
, and it
is estimated from permutations in method = "random"
, and from
analytic equations in other methods.method = "random"
and
NULL
in other cases. Each column in perm
holds one
permutation."random"
which finds the mean SAC and its
standard deviation from random permutations of the data, or
subsampling without replacement (Gotelli & Colwell 2001).
The "exact"
method finds the
expected SAC using the method of Kindt (2003), and its standard deviation.
Method "coleman"
finds the expected SAC and its standard
deviation following Coleman et al. (1982). All these methods are
based on sampling sites without replacement. In contrast, the
method = "rarefaction"
finds the expected species richness and
its standard deviation by sampling individuals instead of sites. It
achieves this by applying function rarefy
with number of individuals
corresponding to average number of individuals per site. The function has a plot
method. In addition, method =
"random"
has summary
and boxplot
methods.
Kindt, R. (2003). Exact species richness for sample-based accumulation curves. Manuscript.
rarefy
. Underlying graphical functions are
boxplot
, matlines
, segments
and polygon
.data(BCI)
sp1 <- specaccum(BCI)
sp2 <- specaccum(BCI, "random")
sp2
summary(sp2)
plot(sp1, ci.type="poly", col="blue", lwd=2, ci.lty=0, ci.col="lightblue")
boxplot(sp2, col="yellow", add=TRUE, pch="+")
Run the code above in your browser using DataLab