Learn R Programming

oce (version 0.2-1)

oceSmooth: Smooth an oce object

Description

Smooth an oce object.

Usage

oceSmooth(x, ...)

Arguments

x
an oce object.
...
parameters to be supplied to smooth, which does the actual work.

Value

  • An object of class "oce" that has been smoothed appropriately.

Details

Each data element is smoothed as a timeseries. For ADP data, this is done along time, not distance. Time vectors, if any, are not smoothed. A good use of oceSmooth is for despiking noisy data.

See Also

The work is done with smooth, and the ... arguments are handed to it directly by oceSmooth.

Examples

Run this code
library(oce)
data(ctd)
d <- oceSmooth(ctd)
plot(d)

Run the code above in your browser using DataLab