This function is somewhat analogous to subset.data.frame().

# S4 method for met
subset(x, subset, ...)

Arguments

x

a met object.

subset

An expression indicating how to subset x.

...

ignored.

Value

A met object.

Author

Dan Kelley

Examples

library(oce)
data(met)
# Few days surrounding Hurricane Juan
plot(subset(met, time > as.POSIXct("2003-09-27", tz = "UTC")))