subset.adp {oce} | R Documentation |
Subset an adp (acoustic Doppler profile) object
## S4 method for signature 'adp' subset(x, subset, ...)
x |
a |
subset |
a condition to be applied to the |
... |
ignored. |
This function is somewhat analogous to
subset.data.frame
. Subsetting can be by time
or
distance
, but these may not be combined; use a sequence of calls to
subset by both.
A new adp
object.
Dan Kelley
library(oce) data(adp) # First part of time series plot(subset(adp, time < mean(range(adp[['time']]))))