coef.tide {TideHarmonics} | R Documentation |
Coefficients For Tidal Object
Description
Give coefficients and harmonic constituents of a tidal object.
Usage
## S3 method for class 'tide'
coef(object, hc = FALSE, mat = hc, utc = 0, ...)
Arguments
object |
An object of class |
hc |
If |
mat |
If |
utc |
The phase lags are given in UTC plus or minus |
... |
Not used. |
Value
A numeric vector or numeric matrix of sine and cosine coefficients,
or of amplitudes and phase lags. The phase lags are with respect to
the time zone specified by the utc
argument, which is UTC by
default.
See Also
Examples
hfit1 <- ftide(Hillarys$SeaLevel, Hillarys$DateTime, hc60)
hfit2 <- ftide(Hillarys$Sea, Hillarys$Date, hc7, smsl=TRUE)
coef(hfit1, hc = TRUE)
coef(hfit2)
coef(hfit2, mat = TRUE)
coef(hfit2, hc = TRUE)
coef(hfit2, hc = TRUE, mat = FALSE)