tanklist | R Documentation |
Extracts or modifies the list of breathing gases in a dive object.
tanklist(d) tanklist(d) <- value
d |
The dive (an object of class |
value |
The new tank list. A list, whose entries are gases
(objects of class |
An object of class "dive"
represents a scuba dive,
including information about depth, time and gas breathed at each
stage of the dive. These objects are created by the function
dive
.
The tank list of a dive object is a list of the tanks of breathing gas
that were used (or available to be used) during the dive.
The function tanklist
returns this list.
If a new value is assigned to the tank list of a dive d
,
then d
is changed. The new dive d
is conducted
to the same depths and times as the old d
, but with different
gases.
The value of tanklist(d)
is a list whose elements are
gases (objects of class "gas"
).
.
dive
,
nitrox
d <- dive(air, c(30,4), 5, nitrox(0.5), c(5,10)) d tanklist(d) tanklist(d) <- list(air, nitrox(0.8)) d tanklist(d) <- list(travel=air, deco=nitrox(0.8)) d
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.