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

R语言 simba包 aslopect()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 02:28:13 | 显示全部楼层 |阅读模式
aslopect(simba)
aslopect()所属R语言包:simba

                                         Calculate similarity of plots based on slope aspect and inclination
                                         坡向和倾斜的基础上计算的图相似

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

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

Allows for the comparison of plots regarding the two variables slope aspect and slope inclination at once. To obtain a distance measure integrating aspect and inclination the model of a unit sphere is used and great-circle distances between virtual locations are calculated. For each plot a virtual location on the sphere is defined using the values for aspect as longitude and 90掳-inclination as latitude. See details for more...
允许两个变量坡向,坡度在一次图的比较。要获得整合方面倾斜模型和虚拟位置的大圈之间的距离计算的单位球面距离测量。对于每个小区使用方面为经度和90°的倾斜,随着纬度值被定义在球体上的虚拟位置。见details...


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


aslopect(asp, slo, names=rownames(asp), fc=FALSE, listout = FALSE)



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

参数:asp
Numeric vector with aspect values, given in degree. Expects values between 0掳 (North) and 180掳/-180掳 (South). Eastward directions count positive, westward directions count negative. Alternatively the aspect values can be given in degrees of a full circle up to 359掳 starting from 0掳 (North). In the latter case fc has to be set to TRUE.  
数字向量方面的值,给出的程度。预计值介于0 掳(北)和180掳/ -180掳(南)。向东方向计算正,向西方向数负。另外的角度值可以在一个完整的圆度可达359 掳从0开始掳(北)。在后者的情况下,fc需要设置为TRUE。


参数:slo
Numeric vector with slope inclination values. Expects values between 0掳(flat) and 90掳 (vertical wall).  
数字矢量的坡度值。预计值介于0掳(平)和90 掳(垂直墙)。


参数:names
Plot names, defaults to the rownames of asp, but a separate vector can be specified. Its length has to match the length of asp and slo.  
图的名字,默认的asp的行名,但可以指定一个单独的矢量。它的长度的长度相匹配的asp和slo。


参数:fc
Triggers conversion from full circle degrees to half circle degrees. Set this to TRUE if full circle degrees (from 0掳 to 360掳) are given in asp.  
触发器转换完整的圆度到半个圆度。 TRUE“要是完整的圆度(从0掳360掳)给出了asp。


参数:listout
Shall the results be given in list-format (data.frame). Defaults to FALSE which means that a matrix of class dist is returned.  
的结果在列表格式(data.frame)。默认为false,这意味着一个矩阵类dist的返回。


Details

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

To obtain a distance measure integrating aspect and inclination the model of a unit sphere is used and great-circle distances between virtual locations are calculated. For each plot a virtual location on the sphere is defined using the values for aspect as longitude and 90掳-inclination as latitude. This means that as long as the inclination is low the virtual points are located in the pole region so that, regardless of aspect, plots with low inclination are rather close to each other regarding these qualities. The idea behind is, that solar radiation, wind or other factors highly depending on aspect and inclination are not really differing between plots with different aspect as long as the slope is low. The longitude values on the unit sphere are derived from the values of slope aspect. The equator of the sphere is thought as the compass circle. The Prime Meridian of the virtual sphere is the great circle through North and South of the compass. As in geographic terms longitude counts positive in Eastern and negative in Western direction. With φ = latitude = 90掳-inclination and λ = longitude = aspect the great-circle distance between A and B can be calculated with the following formula.
要获得整合方面倾斜模型和虚拟位置的大圈之间的距离计算的单位球面距离测量。对于每一个图一个虚拟球体上的位置来定义的值方面经度和90 掳倾角为纬。这意味着,只要倾向是低的虚拟点位于极区,这样一来,不管方面,低倾角的小区,而彼此靠近这些特质。背后的想法是,太阳辐射,风或其他因素,高度取决于方面和倾角是不是真的,只要不同的纵横不同图之间的斜率是低。在单位球面来自坡向值的经度值。球体的赤道想到的罗盘圈。本初子午线的虚拟球的大圆通过北方和南方的罗盘。在GEO经度计数阳性负的东部和西部方向。用φ =纬度= 90 掳倾角和λ=经度方面的大圆A和B之间的距离,可以用下面的公式计算。


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

Returns a dist object or a data.frame (depending if listout = FALSE or TRUE). As a unit sphere is used, the maximum distance between two inclination/aspect pairs is perimeter/2 of the sphere which is by definition Pi. To scale the possible distances between 0 and 1 the results are divided by Pi. Thus, a great-circle distance of 1 is rather scarce in the real world, however, two vertical rock walls with opposite aspect would share it. If listout = TRUE a data.frame with the following variables returns.
返回dist对象或一个data.frame(根据listout = FALSE或TRUE)。作为一个单元使用球体,两个倾斜/方面对之间的最大距离是周长/ 2的球体是定义Pi。以大规模的可能的0和1之间的距离的结果除以Pi。因此,一个大圆距离为1,在现实世界中是相当稀少的,但是相反的方面,两个垂直的岩壁也有同感。如果listout = TRUE一个data.frame下列变量的回报。


参数:NBX
one of the compared sampling units  
一个与被比较的抽样单位


参数:NBY
the other part of the pair  
该对的另一部分


参数:x
The returned aslopect value  
返回的aslopect值


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


Gerald Jurasinski



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


data(abis)
## identify columns with slope and aspect data[#确定柱的坡度和坡向数据]
names(abis.env)

## calculate aslopect[#计算aslopect]
abis.aslop <- aslopect(abis.env[,4], abis.env[,5])


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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-5-23 13:22 , Processed in 0.021553 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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