powered by
This function is somewhat analogous to subset.data.frame.
subset.data.frame
# S4 method for cm subset(x, subset, ...)
a cm object, i.e. inheriting from cm-class.
cm
cm-class
a condition to be applied to the data portion of x. See ‘Details’.
data
x
ignored.
A new cm object.
Other things related to cm data: [[,cm-method, [[<-,cm-method, as.cm, cm-class, cm, plot,cm-method, read.cm, summary,cm-method
[[,cm-method
[[<-,cm-method
as.cm
plot,cm-method
read.cm
summary,cm-method
# NOT RUN { library(oce) data(cm) plot(cm) plot(subset(cm, time < mean(range(cm[['time']])))) # }
Run the code above in your browser using DataLab