tank | R Documentation |
Creation of tank object for usage in consumption part of a dive.
tank( vol, press, rules = list(rules = c(mid = 50, res = 25), sys = "%"), gas = c("Air"), typ = c("back", "relay"), limit = NULL, name = NULL )
vol |
tank volume in litre. |
press |
tank pressure in bar. |
rules |
tank rules to watch during a dive. A list of two named element :
You can set them to 0 if you don't want to use them |
gas |
tank gas, by default "Air". Parameter is here for future dev. |
typ |
tank type, by default "back"
|
limit |
a two element vector with times between which the tank is not used. Can be used to mimic an accident, or a relay tank. |
name |
Possibility to name the tank for better understanding after. by default will be named after the typ and volume. |
To set a relay tank, rule1 and rule2 must be the same. Therefore the tank won't be usable once pressure reach rule2 and until all other tanks are not used. If multiple tanks are used, the relay must be the first one in order.
Jaunatre Maxime <maxime.jaunatre@yahoo.fr>
tank(vol = 12, press = 200) tank(vol = 12, press = 200, rules = list(rules = c('retour' = 120, 'reserve' = 120), sys = "bar"), typ = 'relay')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.