TidalCharacteristics {Tides}R Documentation

Calculate tidal characteristics

Description

Calculates the characteristics of observed tidal water levels. Wrapper of the functions extrema, IT and IF. Also works on time series with gaps.

Usage

TidalCharacteristics(h, h0 = h$h0, T2 = 5 * 60 * 60, hoffset = 0,
  filtconst = 1, dtMax = 15, unit = "mins", Tavg = 12.4 * 60,
  removegaps = c("All", "Split", "None"))

Arguments

h

Water level time series. data frame with time and h column

h0

Reference level, either single valued or vector with dimension corresponding to h

T2

'Lower' bound on half the quasi period, but higher than expected stagnant phase; default = 5h

hoffset

Offset level, to prevent spurious maxima generation due to small fluctuations

filtconst

Filtering constant for smoothing the time series

dtMax

Maximum accepted time interval in a continuous series. Bigger time intervals are considered to be gaps

unit

Unit of dtMax, Tavg

Tavg

Average period of time series

removegaps

Method to remove gaps in time series from inundation times and dry times. See RemoveGaps

Value

An object of class Tides, i.e. a list containing:

Author(s)

Tom Cox <tom.cox@uantwerp.be>, Lennert Schepers <lennert.schepers@uantwerp.be>

See Also

extrema, IT, plot.Tides

Examples

TC <- TidalCharacteristics(waterlevels, filtconst=10,hoffset=1)
 TC
 plot(TC)
 summary(TC)

[Package Tides version 2.1 Index]