Learn R Programming

scuba (version 1.8-0)

print.dive: Print a Dive Profile

Description

Print a dive profile.

Usage

"print"(x, ..., seconds=TRUE)

Arguments

x
The dive profile. An object of class "dive" created by dive.
...
Arguments passed to print.default.
seconds
Flag indicating whether to print elapsed time to the nearest second (if TRUE) or to the nearest minute (if FALSE).

Value

NULL.

Details

A representation of the dive profile is printed.

See Also

dive, plot.dive

Examples

Run this code
  # Dive to 25 m for 20 min with safety stop
  dive(c(25,20),c(5,5))
  # Dive to 18 m for 30 min with safety stop, on Nitrox EANx 36
  dive(nitrox(0.36), c(18,30), c(5,3))

Run the code above in your browser using DataLab