Learn R Programming

oce (version 0.9-17)

subset.ctd: Subset a ctd object

Description

Subset a ctd object

Usage

## S3 method for class 'ctd}(x, subset, \dots)':
subsetundefined

x{a ctd object.} subset{a condition to be applied to the data portion of x. See Details.} ...{ignored.}

This function is somewhat analogous to subset.data.frame, but only one independent variable may be used in subset in any call to the function, which means that repeated calls will be necessary to, subset based on more than one independent variable (e.g. time and distance).

A new ctd object.

library(oce) data(ctd) plot(ctd) plot(subset(ctd, pressure<10))< examples="">

[object Object]

misc

Arguments