subset,cm-method | R Documentation |
This function is somewhat analogous to subset.data.frame()
.
## S4 method for signature 'cm'
subset(x, subset, ...)
x |
a cm object. |
subset |
a condition to be applied to the |
... |
ignored. |
A new cm
object.
Dan Kelley
Other things related to cm data:
[[,cm-method
,
[[<-,cm-method
,
applyMagneticDeclination,cm-method
,
as.cm()
,
cm
,
cm-class
,
plot,cm-method
,
read.cm()
,
rotateAboutZ()
,
summary,cm-method
Other functions that subset oce objects:
subset,adp-method
,
subset,adv-method
,
subset,amsr-method
,
subset,argo-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(cm)
plot(cm)
plot(subset(cm, time < mean(range(cm[["time"]]))))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.