rules.Rd
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 tank rules(object, ...) # S3 method for 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>