ascent {scuba} | R Documentation |
Ascent Rate or Time
Description
Specify an Ascent Rate or Ascent Time.
Usage
ascent(speed=NULL, time=NULL)
Arguments
speed |
Ascent rate in metres per minute.
Incompatible with |
time |
Total ascent time in minutes.
Incompatible with |
Details
An object of class "rate"
represents a diver's
rate of ascent or descent, or the total time taken to
ascend or descend. Such objects are useful in describing
dives, especially in the function dive
.
The value returned by ascent
represents an ascent rate
or ascent time. Exactly one of the arguments speed
and
time
should be given. If speed
is given, this specifies
a fixed rate of ascent, in metres per minute. If time
is given,
this specifies a fixed total time of ascent, in minutes.
Value
An object of class "rate"
representing
the ascent rate or ascent time.
Author(s)
Adrian Baddeley Adrian.Baddeley@curtin.edu.au.
See Also
Examples
# Ascend at 18 metres/minute
ascent(18)
# Ascend in exactly 3 minutes
ascent(time=3)