air: Air

Description Usage Arguments Details Author(s) See Also Examples

Description

A dataset representing air as a breathing gas, and a function which tests whether a gas is air.

Usage

1
2
  air
  is.air(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 dataset air represents compressed air (21% oxygen, 79% nitrogen) as a breathing gas. It is equivalent to nitrox(0.21).

The function is.air expects its argument g to be a gas object. It returns TRUE if g is equivalent to air, and FALSE otherwise.

Author(s)

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

See Also

nitrox

Examples

1
2
3
4
5
  v <- air
  is.air(v)
  v <- nitrox(0.21)
  is.air(v)
  # both are TRUE

scuba documentation built on May 19, 2017, 8:54 p.m.

Search within the scuba package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.