Learn R Programming

scuba (version 1.8-0)

ead: Equivalent Air Depth

Description

Computes the Equivalent Air Depth for a Nitrox mixture at given depths.

Usage

ead(depth, g) eadtable(g, ppO2max=1.4)

Arguments

depth
depth of dive, in metres.
g
The breathing gas. An object of class "gas" or a number specifying the fraction (between 0 and 1) of oxygen in the nitrox mixture.
ppO2max
maximum permitted partial pressure of oxygen in ata.

Value

For ead, the Equivalent Air Depth in metres for each value of depth; for eadtable, a data frame containing depths and Equivalent Air Depth values, for a range of depths up to the maximum permitted by ppO2max.

Warnings

This function does not check whether the breathing gas would be safe (it could be hypoxic or toxic at the depth in question). ead returns negative values for sufficiently shallow depths. In eadtable these values are blank. Not applicable to altitude dives. Not applicable to gas mixtures other than nitrox (oxygen-nitrogen mixtures).

Details

Applies the standard formula for equivalent air depth.

See Also

mod, maxmix

Examples

Run this code
  # Nitrox I (32% oxygen) at 20 metres
  ead(20, 0.32)
  # Nitrox I table of EAD's
  eadtable(0.32)
  # Nitrox II (36% oxygen) at a range of depths
  ead(10:25, 0.36)

Run the code above in your browser using DataLab