durations.dive: Durations of time between each waypoint of a dive
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").
value
A numeric vector containing durations in minutes.
Value
durations.dive returns a numeric vector containing the
durations of intervals between each waypoint, in minutes.
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.
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.