plagtz {TideHarmonics} | R Documentation |
Convert Phase Lag
Description
Converts phase lags between different time zones. Mainly for internal use.
Usage
plagtz(plag, tzd, indegree = TRUE, outdegree = TRUE)
Arguments
plag |
A named numeric vector of phase lags, where the
names must correspond to the harmonic components. The names
must be those used by this package, which are in the first
column of the |
tzd |
The time difference in hours. For example, when converting from UTC to Australian Eastern Standard Time (AEST), this value must be positive 10. |
indegree |
If |
outdegree |
If |
Value
A numeric vector. By convention, phase lags are given in the interval [0,360] for degrees or [0,2pi] for radians.
See Also
Examples
pvec <- c(M2 = 34.2, S2 = 256.8)
plagtz(pvec, tzd = 10)
[Package TideHarmonics version 0.1-1 Index]