demo/ctd.R

library(oce)
data(ctd)
summary(ctd)
plot(ctd)
cat("Some of the data are...\n")
cat("  P/dbar      S/PSU         T/degC\n")
for (i in seq_len(min(5, length(ctd[["salinity"]])))) {
    cat(ctd[["pressure"]][i], "\t", ctd[["salinity"]][i], "\t", ctd[["temperature"]][i], "\n")
}

Try the oce package in your browser

Any scripts or data that you put into this service are public.

oce documentation built on July 9, 2023, 5:18 p.m.