Learn R Programming

oce (version 0.9-17)

subset.section: Subset a section object

Description

Subset a section object

Usage

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

x{a section object.} subset{a condition to be applied to the data portion of x. See Details.} ...{may include debug, to set a debugging level.}

This function is somewhat analogous to subset.data.frame. The condition set by subset may be in terms of stationId or any combination of longitude, latitude and time. However, stationId may not be combined with the others; to get that effect, call this function more than once.

A new section object.

library(oce) data(section) GS <- subset(section, 109<=stationid&stationid<=129)< examples="">

[object Object]

misc

Arguments