Learn R Programming

scuba (version 1.8-0)

maxmix: Optimal Nitrox Mixture For Given Depth

Description

Computes the optimal nitrox mixture for a given maximum depth.

Usage

maxmix(depth, ppO2max=1.4)

Arguments

depth
the maximum depth, in metres
ppO2max
maximum permitted partial pressure of oxygen in atmospheres absolute

Value

The optimal nitrox mixture. An object of class "gas".

Warnings

Not applicable to altitude dives. Not applicable to gas mixtures other than nitrox (oxygen-nitrogen mixtures).

Details

Computes the maximum fraction of oxygen in a nitrox mixture subject to the constraint that the partial pressure of oxygen does not exceed ppO2max atmospheres.

See Also

mod, ead, eadtable

Examples

Run this code
  # 30 metres
  maxmix(30)

Run the code above in your browser using DataLab