desat_table: desat_table

View source: R/desat_table.R

desat_tableR Documentation

desat_table

Description

Extract time for desat stop using the MN90 tables. Desat stop expected are at 3, 6 and 9 meters depths.

Usage

desat_table(dtcurve, maj = 0)

Arguments

dtcurve

a depth time curve in a data.frame with 2 columns depth and time. Depths values are meters (positive values) and time is in minute.

maj

majoration time in minute in case of consecutive dive. 0 by default.

Details

Dive time used in table is the maximum time in the dtcurve table, exept the last one. This is important as the last time value is expected to be the time at which the diver reach surface.

Value

a desat object, which is a list with a data.frame containing desaturation stops at 9, 6 and 3 m depth. Next element is the dive groupe for possible second dive and lastly the times at which the desaturation stops occur during the dive. The last element is NULL because it's made with tables.


gowachin/DiveR documentation built on March 26, 2022, 3:53 a.m.