nitrox {scuba}R Documentation

Nitrox Mixture

Description

Create a Nitrox gas mixture.

Usage

 nitrox(fO2)

Arguments

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

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 \lnk{is.nitrox}.

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

Value

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

Author(s)

Adrian Baddeley adrian@maths.uwa.edu.au http://www.maths.uwa.edu.au/~adrian/

See Also

dive, ead, mod, air, is.nitrox

Examples

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

[Package scuba version 1.2-2 Index]