Learn R Programming

oce (version 0.9-20)

subset,met-method: Subset a Met Object

Description

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

Usage

"subset"(x, subset, ...)

Arguments

x
An object inheriting from met-class.
subset
An expression indicating how to subset x.
...
ignored.

Value

A new met object.

See Also

Other things related to met data: [[,met-method, [[<-,met-method, as.met, met-class, met, plot,met-method, read.met, summary,met-method

Examples

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

Run the code above in your browser using DataLab