Diving Calculations and Decompression Models

Code for describing and manipulating scuba diving profiles (depth-time curves) and decompression models, for calculating the predictions of decompression models, for calculating maximum no-decompression time and decompression tables, and for performing mixed gas calculations.


News

CHANGES IN scuba VERSION 1.8-0

SIGNIFICANT USER-VISIBLE CHANGES

o whichtank<- The replacement value can be a single number or character string indicating that the entire dive is performed on a single tank.

o whichtank<- Now issues warnings in some circumstances, to guard against common errors.

CHANGES IN scuba VERSION 1.7-0

NEW FUNCTIONS

o deco.ceiling Calculate decompression ceiling

o END Equivalent Narcotic Depth, for trimix gases.

SIGNIFICANT USER-VISIBLE CHANGES

o haldane Calculation is now much faster (by a factor of 500 for a typical real dive profile).

o haldane New argument 'derived' allows extra quantities to be calculated such as the washout and the decompression ceiling.

BUG FIXES

o showstates Additional arguments "..." were ignored after the first mouse click. Fixed.

CHANGES IN scuba VERSION 1.6-0

NEW FUNCTIONS

o ppO2 Calculates oxygen partial pressure.

o Mmix, M0mix Calculate maximum tolerated inert gas tensions (M-values) for a mixture of inert gases.

NEW DATASETS

o deepmine Dive profile for a long, extremely deep, decompression dive, using mixed gases, in a flooded mine.

SIGNIFICANT USER-VISIBLE CHANGES

o datasets All datasets are now lazy-loaded, so it is no longer necessary to type 'data(pedro)', etc.

o hm Changed default for 'mixrule' to something more sensible. Improved documentation for 'mixrule'.

o dive Now allows begin=NA to suppress assumption that the diver descends from the surface at the beginning of dive; and allows end=NA to suppress assumption that the diver ascends to the surface at the end of dive.

o introductory vignette Improved text.

BUG FIXES

o haldane There was a bug in the calculation of M-values at depth (not surfacing M-values). Consequently the results of 'haldane(relative=TRUE, deco=TRUE)' were wildly incorrect. [Spotted by Peter Buzzacott.] Fixed.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("scuba")

1.9-1 by Adrian Baddeley, 2 years ago


Browse source code at https://github.com/cran/scuba


Authors: Adrian Baddeley [aut, cre] , Vittorio Broglio [ctb, dtc] , Pedro Antonio Neves [ctb, dtc] , Andrew Bassom [ctb] , Peter Buzzacott [ctb]


Documentation:   PDF Manual  


GPL (>= 2) license


Imports utils, graphics, stats


See at CRAN