Learn R Programming

scuba (version 1.1-9)

nitrox: Nitrox Mixture

Description

Creates a Nitrox gas mixture.

Usage

nitrox(fO2)

Arguments

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

Value

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

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 this function represents Nitrox (oxygen-nitrogen mixture) with the fraction of oxygen specified by the argument fO2.

For the standard Nitrox calculations, see ead and mod.

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

See Also

dive, ead, mod

Examples

Run this code
# Nitrox I (32\% oxygen) 
  nitrox(0.32)
  # Nitrox II (36\% oxygen)
  nitrox(0.36)

Run the code above in your browser using DataLab