make.section {oce} | R Documentation |
Combine a series of CTD profiles together to create a section.
make.section(item, ...) section + station
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. |
section |
a section to which a station is to be added. |
station |
a station to be added to a section. |
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) s2 <- make.section(ctd) s2 <- s2 + ctd.warmed plot(s2)