lgeodist(spaa)
lgeodist()所属R语言包:spaa
Low precision Great circle distance between two places
两地之间的距离精度低大圆
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Calculating Great circle distance between two places assuming that the earth is sphere.
假设地球是球体的两地之间的大圆距离计算。
用法----------Usage----------
lgeodist(L1, phi1, L2, phi2)
参数----------Arguments----------
参数:L1
Longitude of first place in decimal format.
经度第一的位置,点分十进制格式。
参数:phi1
Latitude of first place in decimal format.
纬度第一的位置,点分十进制格式。
参数:L2
Longitude of second place in decimal format.
经度的第二位十进制格式。
参数:phi2
Latitude of second place in decimal format.
纬度的第二位十进制格式。
值----------Value----------
Low precision great circle distance between two places.
低精度大圆两地之间的距离。
注意----------Note----------
This function assuming that the earth is sphere.
这个函数假设地球是球体。
(作者)----------Author(s)----------
Jinlong Zhang <a href="mailto:jinlongzhang01@gmail.com">jinlongzhang01@gmail.com</a>
参考文献----------References----------
Jean Meeus 1991 Astronomical Algorithms Willmann-Bell 80-81
参见----------See Also----------
geodist
geodist
实例----------Examples----------
#lgeodist() example[lgeodist()的例子]
##Paris[#巴黎]
L1 = deg2dec(-2,20,14)
phi1 = deg2dec(48, 50, 11)
##Washington DC[#华盛顿DC]
L2 = deg2dec(77,03,56)
phi2 = deg2dec(38,55,17)
#Great circle distance[大圆距离]
lgeodist(L1, phi1, L2, phi2)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|