An object of class "dive" represents a scuba dive profile. It is
created by the function dive. A dive is defined as a
series of waypoints occurring at specified depths and times. The
depth at each waypoint is returned by depths.dive. The
assignment depths.dive(d) <- value alters these depths,
provided the new vector value has the same length as the old one.