is.nitrox {scuba} | R Documentation |
Recognise a Nitrox Gas
Description
Determines whether a given gas is nitrox.
Usage
is.nitrox(g)
Arguments
g |
An object of class |
Details
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.
Author(s)
Adrian Baddeley Adrian.Baddeley@curtin.edu.au.
See Also
Examples
v <- nitrox(0.50)
is.nitrox(v)
is.nitrox(air)
[Package scuba version 1.11-1 Index]