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

# S4 method for 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.

See also

Examples

library(oce) data(rsk) plot(rsk)
plot(subset(rsk, time < mean(range(rsk[['time']]))))