A dataset representing air as a breathing gas, and a function which tests whether a gas is air.
的数据集,代表作为呼吸气体的空气,和一个函数,它测试是否有气体是空气。
用法----------Usage----------
air
is.air(g)
参数----------Arguments----------
参数:g
An object of class "gas".
对象的类"gas"。
Details
详细信息----------Details----------
An object of class "gas" represents a breathing gas. Such objects are required for various calculations in the scuba library.
一个对象的类"gas"的呼吸气体。这些对象所需要的各种计算scuba库。
The dataset air represents compressed air (21% oxygen, 79% nitrogen) as a breathing gas. It is equivalent to nitrox(0.21).
的数据集air表示压缩空气(21%的氧,氮79%),呼吸气体。这是相当于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.
函数is.air预计它的参数g是气体对象。返回TRUE如果g相当于在空气中,和FALSE否则。
(作者)----------Author(s)----------
Adrian Baddeley
<a href="mailto:Adrian.Baddeley@csiro.au">Adrian.Baddeley@csiro.au</a>
<a href="http://www.maths.uwa.edu.au/~adrian/">http://www.maths.uwa.edu.au/~adrian/</a>
参见----------See Also----------
nitrox
nitrox
实例----------Examples----------
v <- air
is.air(v)
v <- nitrox(0.21)
is.air(v)
# both are TRUE[两者都是真实的]