showstates(d, model="DSAT", relative=TRUE, deco=FALSE, ...)"dive".
"hm"
or a character string identifying a model.
FALSE, tissue saturations are expressed
as absolute pressures in atmospheres absolute (ata).
If TRUE (the default),
the tissue saturation for each
compartment is expressed as a fraction of the surfacing M-value
for the compartment. (Alternatively if deco=TRUE then tissue
saturation is expressed as a fraction of the M-value at current depth.)
deco=FALSE, then relative tissue saturations
are computed by dividing the absolute tissue saturation by the
surfacing M-value, as appropriate for a no-decompression dive.
If deco=TRUE, then relative tissue saturations are computed
by dividing the absolute tissue saturation by the M-value at the
current depth, as appropriate for a decompression dive.
This argument applies only when relative=TRUE.
plot.dive to control the plot
of the dive profile.
"dive" represents a scuba dive.
It is created by the command dive. This function plots the dive using plot.dive
then waits for the user to click on the plot. This click selects
a time during the dive. The algorithm computes the nitrogen tensions
in the tissues at the indicated time, using haldane,
and plots them as a bar graph. The cumulative oxygen toxicity is also
computed using oxtox.
Note that (by default) the bar graph shows the relative nitrogen tensions in each compartment, that is, the tissue nitrogen tension divided by the "surfacing M-value" (tissue maximum nitrogen tension for a no-decompression dive at sea level).
The argument model determines the decompression model.
It should be either an object of class "hm" (created by
hm) or a character string matching one of the
options in pickmodel.
dive,
haldane,
oxtox
## Not run:
# showstates(dive(c(30,20), c(5,3)), "ZH")
# ## End(Not run)
Run the code above in your browser using DataLab