getCoordinatesAndMoment(treecm)
getCoordinatesAndMoment()所属R语言包:treecm
Returns the coordinates of centre of mass of branches and logs
返回的质心坐标的分支机构和log
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Computes the cartesian coordinates of centre of mass of branches and logs along with their x, y, z moments
计算直角坐标系的中心的分支机构和log的质量x,y,z时刻
The x and y coordinates are computed from the polar coordinates (angle and distance, defined as the length of its projection on ground), measured in the field. The z coordinate is computed by adding the height of branch insertion on the stem (measured in the field) to the height of the branch (calculated through its mean tilt, in case it was measured in the filed). The x, y, z coordinates are corrected to take into account where the actual centre of mass lies on the branches themselves by multiplying them by branchesCM, a real number from 0.01 (CM at branch base) to 1.00 (CM at branch tip). As a rule of thumb, average live branches, with an average amount of foliage, have CM approx. 2/3 of their length, ie. branchesCM = 0.66. x, y, z moments are computed by multiplying the corresponding cartesian coordinates by branch or log mass, e.g. m_x = F \cdot l_x, where F is branch or log mass, l_x is the x component of the lever arm (e.g. the x component of the branch or log projection on the ground).
x和y坐标被计算出来的极坐标(角度和距离,其在地面的突起的长度定义为),测定在该领域。 z坐标计算加入阀杆上的(该字段测定)的分支的高度(通过其平均倾斜,计算的情况下,测定在提交)的分支插入的高度。 x,y,z的坐标纠正,考虑到地方的实际质量中心是在树枝上,乘以他们的branchesCM,一个实数从0.01(CM分支碱基)1.00(CM分支的顶端)。作为一个经验法则,平均活的分支,与枝叶的平均金额约CM。 2/3他们的长度,即。 branchesCM = 0.66。 x,y,z时刻被乘以相应的直角坐标系中的分支或log量计算,例如: m_x = F \cdot l_x,F分支或log质量,l_x是x的杠杆臂组件(例如,x组成部分的分支或log投影在地面上)。
用法----------Usage----------
getCoordinatesAndMoment(azimuth, dBase, dTip, length,
tipD, height, tilt, toBePruned, biomass, branchesCM)
参数----------Arguments----------
参数:azimuth
Branch compass heading
科罗盘航向
参数:dBase
unused argument
未使用的引
参数:dTip
unused argument
未使用的引
参数:length
Branch length
枝长
参数:tipD
unused argument
未使用的引
参数:height
Height of branch insertion on the stem or the height of log lower section
在阀杆上的分支插入的高度或log下段的高度
参数:tilt
Inclination of the branch or log in degrees
倾斜的分支或登录度
参数:toBePruned
unused argument
未使用的引
参数:biomass
Mass of the branch or log
质量的分支或log
参数:branchesCM
a real number varying from 0.01 to 1 proportional to the centre of mass position along the branch (0.01 branch base, 1 branch tip)
为0.01~1质量位置的中心沿着分支(0.01分支碱基,1分支的顶端成比例变化)的实数
值----------Value----------
a vector holding 5 reals:
一个矢量持有本公司5实数:
the x
x
the y coordinate of
y坐标
the x moment of the branch
x时刻的分支
the y moment of the branch
y时刻的分支
the z
z
注意----------Note----------
BranchCM is assumed to have same value in branches and logs. This is not the case in the real world. As a measure of safety one should use the highest value possible, eg branchesCM = 1.
BranchCM被假定为具有相同值的分支机构和log。这是不是在现实世界中的情况下。作为一种安全措施,1应该使用可能的最高值,例如branchesCM = 1。
z coordinate of CM is not returned because it would be useless in a 2D plot. It is computed using mz, which is, as a matter of facts, returned
z坐标CM没有返回,因为这将是无用的在2D绘图。它的计算使用mz,这是事实的问题,返回
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|