Learn R Programming

oce (version 0.9-13)

as.section: Coerce ctd data into section dataset

Description

Coerces a ctd dataset into a section dataset.

Usage

as.section(salinity, temperature, pressure, longitude, latitude,  station)

Arguments

salinity
Salinity, in a vector holding values for all stations.
temperature
Temperature, in a vector holding values for all stations.
pressure
Pressure, in a vector holding values for all stations.
longitude
Longitude, in a vector holding values for all stations.
latitude
Latitude, in a vector holding values for all stations.
station
Station identifier.

Value

Details

Sometimes the data from an entire cruise will be combined into a single set. This function isolates individual stations from such data sets, and combines them into a section.

See Also

The documentation for section-class explains the structure of CTD objects, and also outlines the other functions dealing with them.