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

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

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

                                         Compute interpoint speeds along a track
                                         计算INTERPOINT速度沿着轨道

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

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

Given a vector or matrix of successive positions (in any number of dimensions), and the corresponding times, returns a vector of the average speed over each step in the track.
鉴于连续位置(在任何数量的尺寸),和相应时间的向量或矩阵,返回一个向量,在轨道中的每个步骤的平均时速超过。


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


trackSpeed(coords, time)



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

参数:coords
Either a vector (1 dimension) or a matrix whose rows are successive points along a measured track.  
无论是一个向量(一维)或矩阵的行是连续的点上测得的轨道。


参数:time
A vector of times corresponding to the positions; either numeric or one of R's standard time classes.  
的次数相对应的位置;数字或R的标准时间类之一的向量。


Details

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

The function computes Euclidean distances along the path, in an arbitrary number of dimensions, though usually 1, 2, or 3, and divides by the corresponding differences in time.  Missing values are allowed in either coordinates or time, but will propagate into the computed speeds, in the sense that the speed is NA if any of the coordinates or times at either end of the interval are missing.
函数计算沿路径的欧几里德距离,在任意数量的尺寸,但通常为1,2或3,并除以相应的时间的差异。缺少的值在任一坐标或时间允许,但将传播到所计算的速度,在这个意义上的速度是NA如果缺少任何在任一端的坐标或时间的间隔。


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

Numeric vector of speeds.
数字矢量的速度。


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



xy <- geoXY(object@latitude, object@longitude)
trackSpeed(cbind(xy, object@elevation), object@time)


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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-8 17:33 , Processed in 0.027246 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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