subset-rsk-method: Subset a rsk Object

subset,rsk-methodR Documentation

Subset a rsk Object

Description

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

Usage

## S4 method for signature '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(s)

Dan Kelley

See Also

Other things related to rsk data: [[,rsk-method, [[<-,rsk-method, as.rsk(), ctdFindProfilesRBR(), plot,rsk-method, read.rsk(), rsk, rsk-class, rskPatm(), rskToc(), summary,rsk-method

Other functions that subset oce objects: subset,adp-method, subset,adv-method, subset,amsr-method, subset,argo-method, subset,cm-method, subset,coastline-method, subset,ctd-method, subset,echosounder-method, subset,lobo-method, subset,met-method, subset,oce-method, subset,odf-method, subset,sealevel-method, subset,section-method, subset,topo-method, subset,xbt-method

Examples

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


dankelley/oce documentation built on May 8, 2024, 10:46 p.m.