geoDist(SoDA)
geoDist()所属R语言包:SoDA
Geodetic distances from latitude and longitude
大地测量距离从纬度和经度
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Given two sets of points on the earth's surface in latitude, longitude form, returns the geodetic distances in meters between corresponding points.
鉴于两套的地球表面上的点的纬度,经度的形式,返回的大地测量对应点之间的距离,以米。
用法----------Usage----------
geoDist(lat1, lon1, lat2, lon2, NAOK = TRUE, DUP = TRUE)
参数----------Arguments----------
参数:lat1, lon1, lat2, lon2
Latitude and longitude co-ordinates for the two sets of points.
两组点的纬度和经度坐标。
参数:NAOK
Are NA values allowed in the co-ordinates? Default TRUE. If so, corresponding elements of the distance will also be NA.
NA的允许值,把坐标为?默认TRUE。如果是这样的话,相应的元件的距离也将是NA。
参数:DUP
Value for the DUP argument to .Fortran().
的DUP.Fortran()参数的值。
Details
详细信息----------Details----------
Uses a classic Fortran algorithm implementing a method that allows for the non-spherical shape of the earth. See comments in the Fortran code for the history of the implementation.
使用一个经典的Fortran算法执行一种方法,使地球的非球形的形状。查看评论在Fortran代码实施的历史。
值----------Value----------
numeric vector of distances, optionally including NA values if those are allowed and present in any of the coordinates.
如果这些数值向量的距离,任选包括NA值是允许的,在任何的坐标存在。
参考文献----------References----------
on the ellipsoid with application of nested equations. Survey Review, vol. 23(176):88-94.
参见----------See Also----------
For the DUP argument, see .Fortran.
对于DUP参数,请参阅.Fortran。
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|