View source: R/methods_conso.R
rules | R Documentation |
rules
retrieve the rules of a tank or
pressure and times at which the pressure of tank(s) met the rules in conso.
rules(object, ...) ## S3 method for class 'tank' rules(object, ...) ## S3 method for class 'conso' rules(object, ..., hour = FALSE)
object |
is a DiveR object. There is methods for
|
... |
other parameters passed to the pressure.conso method.
|
hour |
if the time defined inside the hours of the dive (TRUE) or in relative time to dive start (FALSE). Set to FALSE by default. |
tank
numeric vector for rules in their order
conso
data.frame with rules in column and tanks in rows
@examples t <- tank(12,200) rules(object = t)
d <- dive(20,15) c <- conso(d, t, cons = 20) rules(object = c)
rules(object = c, n = 0)
Jaunatre Maxime <maxime.jaunatre@yahoo.fr>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.