durations.dive(scuba)
durations.dive()所属R语言包:scuba
Durations of time between each waypoint of a dive
潜水每个航点的持续时间之间的时间
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Extracts, or alters, the durations of each interval between waypoints during a dive.
提取物,或涂改,各航点之间的间隔在潜水过程的持续时间。
用法----------Usage----------
durations.dive(d)
durations.dive(d) <- value
参数----------Arguments----------
参数:d
A dive (object of class "dive").
潜水(类的对象"dive"“)。
参数:value
A numeric vector containing durations in minutes.
一个数字向量持续时间以分钟为单位。
Details
详细信息----------Details----------
An object of class "dive" represents a scuba dive. It is created by the function dive. A dive is defined as a series of waypoints occurring at specified depths and times.
一个对象的类"dive"的代表水肺潜水。它是由函数dive。甲潜水被定义为在指定的深度和时间发生了一系列的航点。
The duration of the time interval between each successive pair of waypoints is returned by durations.dive. The assignment durations.dive(d) <- value alters these durations, provided the new vector value has the same length as the old one.
对每个连续的航点之间的时间间隔的持续时间,则返回由durations.dive。赋值durations.dive(d) <- value改变这些持续时间,提供了新的向量value旧的一个具有相同的长度。
值----------Value----------
durations.dive returns a numeric vector containing the durations of intervals between each waypoint, in minutes.
durations.dive返回一个数字向量各航点之间的间隔的持续时间,以分钟为单位。
(作者)----------Author(s)----------
Adrian Baddeley
<a href="mailto:Adrian.Baddeley@csiro.au">Adrian.Baddeley@csiro.au</a>
<a href="http://www.maths.uwa.edu.au/~adrian/">http://www.maths.uwa.edu.au/~adrian/</a>
参见----------See Also----------
depths.dive, times.dive, dive.
depths.dive,times.dive,dive。
实例----------Examples----------
d <- dive(c(30,20), c(5,5))
d
durations.dive(d)
# what if we stayed at the bottom for 25 minutes instead of 20?[如果我们在底部停留25分钟,而不是20吗?]
durations.dive(d)[2] <- 25
d
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|