powered by
This is a basic class for general oce objects. It has specialised versions for most sub-classes, e.g. subset,ctd-method for ctd objects.
subset,ctd-method
ctd
# S4 method for oce subset(x, subset, ...)
An oce object.
A logical expression indicating how to take the subset; the form depends on the sub-class.
Ignored.
# NOT RUN { library(oce) data(ctd) # Select just the top 10 metres (pressure less than 10 dbar) top10 <- subset(ctd, pressure < 10) par(mfrow=c(1, 2)) plotProfile(ctd) plotProfile(top10) # }
Run the code above in your browser using DataLab