summary.dive: summary

View source: R/methods_dive.R

summary.tankR Documentation

summary

Description

summary method for class dive.

Usage

## S3 method for class 'tank'
summary(object, ...)

## S3 method for class 'conso'
summary(object, ...)

## S3 method for class 'dive'
summary(object, ...)

## S3 method for class 'desat'
summary(object, ...)

Arguments

object

is a DiveR object. There are methods for dive, tank and conso objects.

...

other arguments not used

Value

A brief summary of a dive and its main parameters.

summary(dive(20, 40, secu = FALSE)) summary(dive(20, 40, secu = TRUE)) summary(dive(20, 45)) summary(dive(39, 22)) summary(dive(50, 22))

Author(s)

Jaunatre Maxime <maxime.jaunatre@yahoo.fr>

Examples

summary(tank(vol = 12, press = 200))

Tank_15L <- tank(vol = 15, press = 200)
viable <- conso(dive = dive(20,40), tank = Tank_15L, 
                cons = 20, failure_label = 'Air failure')
summary(viable)

summary(desat_table(init_dtcurve(20, 40)))
summary(desat_table(init_dtcurve(20, 45)))
summary(desat_table(init_dtcurve(39, 22)))
summary(desat_table(init_dtcurve(50, 22)))


gowachin/mn90 documentation built on March 30, 2022, 10:29 a.m.