| is.nitrox {scuba} | R Documentation |
Determines whether a given gas is nitrox.
is.nitrox(g)
g |
An object of class "gas".
|
An object of class "gas" represents a breathing gas.
Such objects are required for various calculations in the
scuba library.
The function is.nitrox expects its argument g
to be a gas object. It returns TRUE if
g is a nitrox gas (a mixture of oxygen and nitrogen),
and FALSE otherwise.
Adrian Baddeley adrian@maths.uwa.edu.au http://www.maths.uwa.edu.au/~adrian/
v <- nitrox(0.50) is.nitrox(v) is.nitrox(air)