ppO2: Oxygen Partial Pressures

View source: R/oxtox.R

ppO2R Documentation

Oxygen Partial Pressures

Description

Computes the partial pressure of oxygen at each stage during a dive.

Usage

  ppO2(d)

Arguments

d

The dive profile. An object of class "dive".

Details

This function computes the partial pressure of oxygen at each stage of the dive profile. The result is a data frame with two columns: time giving the elapsed time, and ppO2 giving the partial pressure of oxygen (in atmospheres) in the current breathing gas at the current depth.

Value

A data frame with columns time and ppO2.

Author(s)

\adrian

.

See Also

oxtox, ead, mod, maxmix

Examples

  data(pedro)
  plot(ppO2(pedro902), type="l")

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