subset-xbt-method: Subset an xbt Object

subset,xbt-methodR Documentation

Subset an xbt Object

Description

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

Usage

## S4 method for signature 'xbt'
subset(x, subset, ...)

Arguments

x

an xbt object.

subset

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

...

ignored.

Value

A new xbt object.

Author(s)

Dan Kelley

See Also

Other things related to xbt data: [[,xbt-method, [[<-,xbt-method, as.xbt(), plot,xbt-method, read.xbt(), read.xbt.noaa1(), summary,xbt-method, xbt, xbt-class, xbt.edf

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,rsk-method, subset,sealevel-method, subset,section-method, subset,topo-method

Examples

library(oce)
data(xbt)
plot(xbt)
plot(subset(xbt, depth < mean(range(xbt[["depth"]]))))


dankelley/oce documentation built on April 18, 2024, 9:51 a.m.