ndive.Rd
Combine 2 dives object in a sequence. To do so, it checks if the desaturation models are coherent and if the second dive is possible according to residual azote and interval time.
ndive(dive1, dive2, inter = 16, verbose = FALSE)
dive1 | the first dive, must be a |
---|---|
dive2 | the second dive, must be a |
inter | 16 by default, interval in minute between the end of the first dive and the beginning of the second. |
verbose | allow cat return in consol for debug purposes. Show which case of sequence is used. |
ndive, a ndive class object.
See tablecheck
for limit values of depth and time
of a dive.
Jaunatre Maxime <maxime.jaunatre@yahoo.fr>
dive1 = dive(depth = 39, time = 22, secu = TRUE, ascent_speed = 10) dive2 = dive(depth = 20, time = 40, secu = TRUE, ascent_speed = 10) divet = ndive(dive1, dive2, inter = 30)#> Warning: Second dive impossible due to majoration of time