Skip to contents

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

Usage

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

Arguments

x

an rsk object.

subset

a condition to be applied to the data portion of x. See “Details”.

...

ignored.

Value

An rsk object.

Author

Dan Kelley

Examples

library(oce)
data(rsk)
plot(rsk)

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