renyi(vegan)
renyi()所属R语言包:vegan
Renyi and Hill Diversities and Corresponding Accumulation Curves
的仁义和希尔多样性和相应的累积曲线
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Function renyi find R茅nyi diversities with any scale or the corresponding Hill number (Hill 1973). Function renyiaccum finds these statistics with accumulating sites.
功能renyi找到仁义的多样性与任何规模或相应的山号(山1973)。函数renyiaccum积累的网站,发现这些统计数据。
用法----------Usage----------
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",
...)
## S3 method for class 'renyiaccum'
persp(x, theta = 220, col = heat.colors(100), zlim, ...)
rgl.renyiaccum(x, rgl.height = 0.2, ...)
参数----------Arguments----------
参数:x
Community data matrix or plotting object.
社区数据矩阵或绘制对象。
参数:scales
Scales of R茅nyi diversity.
秤的仁义多样性。
参数:hill
Calculate Hill numbers.
计算希尔编号。
参数:permutations
Number of random permutations in accumulating sites.
数随机排列积累的网站。
参数:raw
if FALSE then return summary statistics of permutations, and if TRUE then returns the individual permutations.
如果FALSE然后返回汇总统计数据的排列,如果TRUE然后返回个人的排列。
参数:what
Items to be plotted.
要绘制的项目。
参数:type
Type of plot, where type = "l" means lines.
图类型,其中type = "l"是指线。
参数:theta
Angle defining the viewing direction (azimuthal) in persp.
在persp角度定义观察方向(方位角)。
参数:col
Colours used for surface. Single colour will be passed on, and vector colours will be selected by the midpoint of a rectangle in persp.
颜色用于表面。单色将通过向量的颜色将被选中由一个矩形persp的中点。
参数:zlim
Limits of vertical axis.
垂直轴的限制。
参数:rgl.height
Scaling of vertical axis.
垂直轴的缩放。
参数:...
Other arguments which are passed to renyi and to graphical functions.
其他参数,这些参数传递给renyi和图形功能。
Details
详细信息----------Details----------
Common diversity indices are special cases of R茅nyi diversity
通用diversity指数仁义多样性的特殊情况,
where a is a scale parameter, and Hill (1975) suggested to use so-called “Hill numbers” defined as N.a = exp(H.a). Some Hill numbers are the number of species with a = 0, exp(H') or the exponent of Shannon diversity with a = 1, inverse Simpson with a = 2 and 1/max(p) with a = Inf. According to the theory of diversity ordering, one community can be regarded as more diverse than another only if its R茅nyi diversities are all higher (T贸thm茅r茅sz 1995).
a是尺度参数,格兰特 - 希尔(1975)建议使用所谓的“山号”定义为N.a = exp(H.a)。一些山号的物种数量a = 0,exp(H')的香农多样性a = 1,逆辛普森a = 2和1/max(p)的指数a = Inf。一个社区据的多样性订购的理论,可以视为比另一只更多样化的,如果它的的仁义多样性是所有高(Tóthmérész1995年)。
The plot method for renyi uses lattice graphics, and displays the diversity values against each scale in separate panel for each site together with minimum, maximum and median values in the complete data.
plot方法renyi使用lattice图形,并显示规模的多样性值对每个单独的面板中为每个站点加上完整的数据中的最小值,最大值和中值。
Function renyiaccum is similar to specaccum but finds R茅nyi or Hill diversities at given scales for random permutations of accumulated sites. Its plot function uses lattice function xyplot to display the accumulation curves for each value of scales in a separate panel. In addition, it has a persp method to plot the diversity surface against scale and number and sites. Dynamic graphics with rgl.renyiaccum use rgl package, and produces similar surface as persp with a mesh showing the empirical confidence levels.
功能renyiaccum和specaccum在给定的scales随机排列的积累的网站,但发现仁义或山多样性。它的plot函数使用lattice函数xyplot显示累积曲线的每个值scales在一个单独的面板。此外,它有一个persp方法绘制的多样性表面对规模和数量和网站。动态图形rgl.renyiaccum使用rgl包,并产生类似的表面persp带有网眼显示实证信心水平。
值----------Value----------
Function 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 diversity 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.
功能renyi返回一个数据框选择的指数。函数renyiaccum参数raw = FALSE返回一个三维数组,其中第一维是累计的网站,第二个维度是多样性的尺度,和第三个维度的汇总统计mean, stdev,min,max,Qnt 0.025和Qnt 0.975。参数raw = TRUE的第三个维度的统计是取代个人的排列结果。
(作者)----------Author(s)----------
Roeland Kindt <a href="mailto:r.kindt@cgiar.org">r.kindt@cgiar.org</a> and Jari Oksanen
参考文献----------References----------
consequences. Ecology 54, 427–473.
Kenya: using profiles to characterise richness and evenness. Biodiversity and Conservation 15: 1253-1270.
ordering. Journal of Vegetation Science 6, 283–290.
参见----------See Also----------
diversity for diversity indices, and specaccum for ordinary species accumulation curves, and xyplot, persp and
diversity多样性指数,和specaccum普通物种累积曲线,和xyplot,persp
实例----------Examples----------
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))
persp(mod)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|