找回密码
 注册
查看: 1031|回复: 0

R语言 spaa包 sp.pair()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 12:10:19 | 显示全部楼层 |阅读模式
sp.pair(spaa)
sp.pair()所属R语言包:spaa

                                        Species association between each pair of species
                                         物种之间的关联每个物种对

                                         译者:生物统计家园网 机器人LoveR

描述----------Description----------

Calculate species association between each pair of species.
计算每个物种对物种之间的关联。


用法----------Usage----------


sp.pair(matr)



参数----------Arguments----------

参数:matr
Standard species matrix, with rows for plots and columns for species.
标准的物种矩阵,与图的行和列的物种。


Details

详细信息----------Details----------

Assume we have speciesA and speciesB, a, b, c, d that corresponding to the co-occurrence could be used to conduct the species association analysis between the two species.
假设我们有speciesA和speciesB,a,b,c,d相应的共生可以被用来进行两个物种的物种之间的关联分析。

a = number of plots both occupied by speciesA and speciesB.
a=数字图都占据由speciesA和speciesB。“

b = number of plots only found speciesA.
b=号图才发现speciesA。

c = number of plots only found speciesB.
c=号图才发现speciesB。

d = number of plots without speciesA or speciesB.
d=数字图没有speciesA或speciesB。“

N = a+b+c+d
N=a+b+c+d

This function are using the following formula:
此功能使用的是下面的通式:

Chi square (Yate's correction):
智方(亚特修正):

chi^{2}=((((a*d-b*c)-0.5*N)^2)*N)/(a+b)*(a+c)*(b+d)*(c+d)
chi^{2}=((((a*d-b*c)-0.5*N)^2)*N)/(a+b)*(a+c)*(b+d)*(c+d)

V ratio:
V比率:

V = ((a+b)-(b-c))/(a + b + c + d)
V = ((a+b)-(b-c))/(a + b + c + d)

Jaccard index:
Jaccard指数:

Jaccard =a/(a + b + c)
Jaccard =a/(a + b + c)

Ochiai index:
落合指数:

Ochiai = a/sqrt((a+b)*(a+c))
Ochiai = a/sqrt((a+b)*(a+c))

Dice index:
骰子指数:

Dice = 2*a/(2*a + b + c)
Dice = 2*a/(2*a + b + c)

The Association Coefficient(AC):
关联系数(AC):

if a*d>= b*c:
如果a*d>= b*c:

AC = (a*d - b*c)/((a+b)*(b+d))
AC = (a*d - b*c)/((a+b)*(b+d))

if b*c>= a*d and d>=a:
如果b*c>= a*d and d>=a:

AC=(a*d - b*c)/((a+b)*(a+c))
AC=(a*d - b*c)/((a+b)*(a+c))

if b*c>a*d and a<a:
如果b*c>a*d and a<a:

AC = (a*d - b*c/((b+d)(d+c))
AC = (a*d - b*c/((b+d)(d+c))

Point correlation coefficient
点相关系数

(PCC):
(PCC):

PCC = {a*d-b*c}/{(a+b)*(a+c)*(c+d)*(b+d)}
PCC = {a*d-b*c}/{(a+b)*(a+c)*(c+d)*(b+d)}


值----------Value----------

<table summary="R valueblock"> <tr valign="top"><td>chisq</td> <td> chi square matrix</td></tr> <tr valign="top"><td>chisqass</td> <td> chi square matrix information</td></tr> <tr valign="top"><td>V</td> <td> V Value indicating species association is positive or negative</td></tr> <tr valign="top"><td>Ochiai</td> <td> Ochiai's index</td></tr> <tr valign="top"><td>Dice</td> <td> Dice's index</td></tr> <tr valign="top"><td>Jaccard</td> <td> Jaccard's index</td></tr> <tr valign="top"><td>Pearson</td> <td> Pearson's correlation</td></tr> <tr valign="top"><td>Spearman</td> <td> Spearman's rank correlation</td></tr> <tr valign="top"><td>PCC</td> <td> Point correlation coefficient</td></tr> <tr valign="top"><td>AC</td> <td> Association coefficient</td></tr>
<table summary="R valueblock"> <tr valign="top"> <TD> chisq</ TD> <TD>智方矩阵</ TD> </ TR> <TR VALIGN =“顶” > <TD> chisqass </ TD> <TD>智方矩阵信息</ TD> </ TR> <tr valign="top"> <TD> V</ TD> <TD > V这个值说明种间联结是正面还是负面</ TD> </ TR> <tr valign="top"> <TD> Ochiai </ TD> <TD>落合指数</ TD > </ TR> <tr valign="top"> <TD> Dice </ TD> <TD>骰子指数</ TD> </ TR> <tr valign="top"> <TD> Jaccard </ TD> <TD>的Jaccard指数</ TD> </ TR> <tr valign="top"> <TD>Pearson </ TD> <TD> Pearson相关</ TD> </ TR> <tr valign="top"> <TD> Spearman</ TD> <TD> Spearman秩相关</ TD> </ TR> <tr valign="top"> <TD> PCC</ TD> <TD>点相关系数</ TD> </ TR> <tr valign="top"> <TD>AC </ TD> <TD>协会系数</ TD > </ TR>

</table>
</ TABLE>


(作者)----------Author(s)----------



Jinlong Zhang <a href="mailto:jinlongzhang01@gmail.com">jinlongzhang01@gmail.com</a>




参考文献----------References----------

Zhang Qiaoying, Peng Shaolin, Zhang Sumei, Zhang Yunchun, Hou Yuping.(2008). Association of dormintant species in Guia hill Municipal Park of Macao.  Ecology and Environment. 17:1541-1547
Zhou XY, Wang BS, Li MG, Zan QJ.(2000). An analysis of interspecific associations in secondary  succession forest communities in Heishiding Nature Reserve, Guangdong Province. Acta Phytoecologica Sinica. 24:332-339.
JIAN Minfei, LIU qijing, ZHU du, YOU hai.(2009). Inter-specific correlations among dorminant populations of tree layer species in evergreen broad-leaved forest in Jiulianshan Mountain of subtropical China. Chinese Journal of Plant Ecology. 33: 672-680

参见----------See Also----------

See Also as sp.assoc for species association for total species.
此外,sp.assoc的物种协会的总种数。


实例----------Examples----------


data(testdata)
spmatrix <- data2mat(testdata)
result <- sp.pair(spmatrix)

转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。


注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|生物统计家园 网站价格

GMT+8, 2025-6-10 02:28 , Processed in 0.037597 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表