renyi find renyiaccum finds these statistics with accumulating sites.renyi(x, scales = c(0, 0.25, 0.5, 1, 2, 4, 8, 16, 32, 64, Inf), hill = FALSE)
## S3 method for class 'renyi':
plot(x, ...)
renyiaccum(x, scales = c(0, 0.5, 1, 2, 4, Inf), permutations = 100,
raw = FALSE, ...)
## S3 method for class 'renyiaccum':
plot(x, what = c("mean", "Qnt 0.025", "Qnt 0.975"), type = "l",
...)FALSE then return summary statistics of
permutations, and if TRUE then returns the individual
permutations.type = "l" means lines.renyi and
xyplot in graphical functions.renyi returns a data frame of selected
indices. Function renyiaccum with argument raw = FALSE
returns a three-dimensional array, where the first dimension are the
accumulated sites, second dimension are the diveristy scales, and
third dimension are the summary statistics mean, stdev,
min, max, Qnt 0.025 and Qnt 0.975. With
argument raw = TRUE the statistics on the third dimension are
replaced with individual permutation results.diversity indices are special cases of
The plot method for renyi uses
Function renyiaccum is similar to specaccum but
finds scales
for random permutations of accumulated sites. Its plot
function uses xyplot to
display the accumulation curves for each value of scales in a
separate panel.
diversity for diversity indices, and
specaccum for ordinaty species accumulation curves, and
xyplot for controlling graphics.data(BCI)
i <- sample(nrow(BCI), 12)
mod <- renyi(BCI[i,])
plot(mod)
mod <- renyiaccum(BCI[i,])
plot(mod, as.table=TRUE, col = c(1, 2, 2))Run the code above in your browser using DataLab