Description Usage Arguments Value Examples
Convenience function for specifying harmonic terms in a model
The two functions Annual
and Hyear
do the same job
but are retained for compatibility purposes.
1 2 3 4 5 6 7 |
day, x |
time variable, assumed to be in elapsed days from a fixed origin |
k |
the number of sine and cosine terms |
dates |
time variable, as a Date object or can be coerced to Date |
theta |
angle expressed in radians |
A matrix of harmonc terms with length(days)
rows and 2*k
columns
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.