subset.section {oce} | R Documentation |
Subset a section object
## S4 method for signature 'section' subset(x, subset, ...)
x |
a |
subset |
a condition to be applied to the |
... |
may include |
This function is somewhat analogous to
subset.data.frame
. The condition set by subset
may be
in terms of stationId
or any combination of longitude
,
latitude
and time
. However, stationId
may not be
combined with the others; to get that effect, call this function more than
once.
A new section
object.
Dan Kelley
library(oce) data(section) GS <- subset(section, 109<=stationId&stationId<=129)