dtr retrieve time from end dive time to the surface including desaturation time

dtr(object)

# S3 method for dive
dtr(object)

Arguments

object

is a DiveR object. This method is defined for dive objects.

Value

It returns a numeric with the duration of the ascent to end of the dive.

Author

Jaunatre Maxime <maxime.jaunatre@yahoo.fr>

Examples

dtr(dive(20,40))
#> [1] 5.2
# absurd slowness with ascent_speed = 1 dtr(dive(20,40, ascent_speed = 1))
#> Warning: Ascent speed is usually set between 10 and 20 m/min in most desaturation models. #> 6m/min is used between 6m and the surface
#> [1] 23