make.section {oce} | R Documentation |
Combine a series of CTD profiles together to create a section.
make.section(item, ...)
item |
either a ctd object, in which case the rest of the
arguments are other ctd objects, or a list of ctd
objects. |
... |
a list of ctd objects, either given as separate
arguments (the normal procedure) or as a list. |
The ctd
stations must share identical pressure values;
use section.grid
to do that.
An object of class
"section
" (for
details, see read.section
).
Dan Kelley
read.ctd
reads CTD data. section
is a sample data set.
library(oce) data(ctd) ctd.warmed <- ctd ctd.warmed$data$temperature <- ctd.warmed$data$temperature + 0.5 ctd.warmed$metadata$latitude <- ctd.warmed$metadata$latitude + 0.1 section <- make.section(ctd, ctd.warmed) summary(section) plot(section, at=c(1,2), labels=c("Original","Warmed"))