subset,echosounder-method | R Documentation |
This function is somewhat analogous to subset.data.frame()
.
Subsetting can be by time
or depth
, but these may not be
combined; use a sequence of calls to subset by both.
## S4 method for signature 'echosounder'
subset(x, subset, ...)
x |
an echosounder object. |
subset |
a condition to be applied to the |
... |
ignored. |
An echosounder object.
Dan Kelley
Other things related to echosounder data:
[[,echosounder-method
,
[[<-,echosounder-method
,
as.echosounder()
,
echosounder
,
echosounder-class
,
findBottom()
,
plot,echosounder-method
,
read.echosounder()
,
summary,echosounder-method
Other functions that subset oce objects:
subset,adp-method
,
subset,adv-method
,
subset,amsr-method
,
subset,argo-method
,
subset,cm-method
,
subset,coastline-method
,
subset,ctd-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(echosounder)
plot(echosounder)
plot(subset(echosounder, depth < 10))
plot(subset(echosounder, time < mean(range(echosounder[["time"]]))))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.