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.
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