Learn R Programming

scuba (version 1.11-1)

ppO2: Oxygen Partial Pressures

Description

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

Usage

ppO2(d)

Value

A data frame with columns time and ppO2.

Arguments

d

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

Author

Adrian Baddeley Adrian.Baddeley@curtin.edu.au.

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.

See Also

oxtox, ead, mod, maxmix

Examples

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

Run the code above in your browser using DataLab