Skip to contents

This function is somewhat analogous to subset.data.frame(), but subsetting is only permitted by time.

Usage

# S4 method for class 'sealevel'
subset(x, subset, ...)

Arguments

x

a sealevel object.

subset

a condition to be applied to the data portion of x.

...

ignored.

Value

A new sealevel object.

Author

Dan Kelley

Examples

library(oce)
data(sealevel)
plot(sealevel)

plot(subset(sealevel, time < mean(range(sealevel[["time"]]))))