seasMod | R Documentation |
The function creates a Fourier form periodic component for given period and harmonics.
seasMod(p, h, m0, C0)
p |
The period. |
h |
Vector of harmonics to be included. |
m0 |
Prior mean of the state vector. |
C0 |
Prior covariance of the state vector. |
A list of the following:
FF - Observational vector.
GG - Evolution matrix.
m0 - Prior mean of the state vector.
C0 - Prior covariance of the state vector.
# create a seasonal component with first, second and fourth harmonics of a period of 365 seas.comp = seasMod(365,c(1,2,4),C0=10*diag(6))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.