Description Usage Arguments Details Value Examples
View source: R/covarianceFunctions.R
Periodic correlation matrix
1 | periodicCorMtx(timeVec, corPar, truncateDec = NULL)
|
timeVec |
Vector of time |
corPar |
Covariance parameter |
truncateDec |
Decimal to be truncated. Default is none. |
Create a covariance matrix of type periodic with elements
r(s,t | θ) = exp ≤ft\{-2θ\, sen^2≤ft(π\frac{(t-s)}{T}\right) \right\}.
Square correlation matrix of size length(unique(timeVec))
of type periodic.
1 2 | myTime <- seq(0,1, length.out = 12)
periodicCorMtx(myTime, corPar = 8, truncateDec = 4)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.