阅读背景:

R对所有其他数据运行函数,但函数中使用的值

来源:互联网 

So I have a formula for calculating the distance between two locations,however I want to have a second function that uses this one. The second function would get a list of lat, long values with corresponding numbers 1,2,3,etc.Then for for each point on the list run the GPSDist on all the other lat long data in that column. find the set that has the smallest distance (d) value, and say what number that lat long corresponds to.So I have a formula for calculating the distanc




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: