subset.adv {oce} | R Documentation |
Subset an adv (acoustic Doppler profile) object
## S4 method for signature 'adv' subset(x, subset, ...)
x |
a |
subset |
a condition to be applied to the |
... |
ignored. |
This function is somewhat analogous to
subset.data.frame
, except that subsets can only be specified
in terms of time
.
A new adv
object.
Dan Kelley
library(oce) data(adv) plot(adv) plot(subset(adv, time < mean(range(adv[['time']]))))