Subset a Met Object

Share:

Description

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

Usage

1
2
## S4 method for signature 'met'
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.

Author(s)

Dan Kelley

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

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

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.