is.nitrox: Recognise a Nitrox Gas

View source: R/gas.R

is.nitroxR Documentation

Recognise a Nitrox Gas

Description

Determines whether a given gas is nitrox.

Usage

  is.nitrox(g)

Arguments

g

An object of class "gas".

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

.

See Also

nitrox

Examples

  v <- nitrox(0.50)
  is.nitrox(v)
  is.nitrox(air)

scuba documentation built on Oct. 18, 2022, 5:06 p.m.