Learn R Programming

oce (version 0.9-17)

odf-class: Class to store ODF data

Description

Class to store ODF data.

Arguments

Methods

Consider an ODF object named odf.

Accessing metadata. Metadata (contained in the S4 slot named metadata) may be retrieved or set by name, odf[["longitude"]] <- odf[["longitude"]] + 1 corrects a one-degree error.

Accessing measured data.

Column data may be accessed by name, e.g. odf[["salinity"]], odf[["temperature"]], odf[["pressure"]], etc. It is up to the user to realize what is in the object.

Assigning values. Items stored in the object may be altered with e.g. odf[["salinity"]] <- rep(35,10).

Overview of contents. The show method (e.g. show(odf)) displays information about the object.

See Also

A file containing ODF profile data may be read with read.odf. Statistical summaries are provided by summary.odf, while show displays an overview. ODF objects may be plotted with plot.odf.