subset,adv-method | R Documentation |
Subset an adv (acoustic Doppler profile) object. This function is somewhat
analogous to subset.data.frame()
, except that subsets can only be
specified in terms of time
.
## S4 method for signature 'adv'
subset(x, subset, ...)
x |
an adv object. |
subset |
a condition to be applied to the |
... |
ignored. |
A new adv object.
Dan Kelley
Other things related to adv data:
[[,adv-method
,
[[<-,adv-method
,
adv
,
adv-class
,
advSontekAdrFileTrim()
,
applyMagneticDeclination,adv-method
,
beamName()
,
beamToXyz()
,
enuToOther()
,
enuToOtherAdv()
,
plot,adv-method
,
read.adv()
,
read.adv.nortek()
,
read.adv.sontek.adr()
,
read.adv.sontek.serial()
,
read.adv.sontek.text()
,
rotateAboutZ()
,
summary,adv-method
,
toEnu()
,
toEnuAdv()
,
velocityStatistics()
,
xyzToEnu()
,
xyzToEnuAdv()
Other functions that subset oce objects:
subset,adp-method
,
subset,amsr-method
,
subset,argo-method
,
subset,cm-method
,
subset,coastline-method
,
subset,ctd-method
,
subset,echosounder-method
,
subset,lobo-method
,
subset,met-method
,
subset,oce-method
,
subset,odf-method
,
subset,rsk-method
,
subset,sealevel-method
,
subset,section-method
,
subset,topo-method
,
subset,xbt-method
library(oce)
data(adv)
plot(adv)
plot(subset(adv, time < mean(range(adv[["time"]]))))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.