Learn R Programming

scuba (version 1.11-1)

nitrox: Nitrox Mixture

Description

Create a Nitrox gas mixture.

Usage

nitrox(fO2)

Value

An object of class "gas" representing Nitrox with the specified fraction of oxygen.

Arguments

fO2

Fraction (between 0 and 1) of oxygen in the nitrox mixture.

Author

Adrian Baddeley Adrian.Baddeley@curtin.edu.au.

Details

An object of class "gas" represents a breathing gas. Such objects are required for various calculations in the scuba library.

The value returned by nitrox represents Nitrox (oxygen-nitrogen mixture) with the fraction of oxygen specified by the argument fO2.

For the standard Nitrox calculations, see ead and mod. To determine whether a gas is nitrox, use is.nitrox.

There are methods for print and summary for objects of class "gas".

See Also

dive, ead, mod, air, is.nitrox

Examples

Run this code
  # Nitrox I (32% oxygen) 
  nitrox(0.32)
  # Nitrox II (36% oxygen)
  nitrox(0.36)
  #
  g <- nitrox(0.50)
  is.nitrox(g)

Run the code above in your browser using DataLab