periodicCorMtx: Periodic correlation matrix

Description Usage Arguments Details Value Examples

View source: R/covarianceFunctions.R

Description

Periodic correlation matrix

Usage

1
periodicCorMtx(timeVec, corPar, truncateDec = NULL)

Arguments

timeVec

Vector of time

corPar

Covariance parameter

truncateDec

Decimal to be truncated. Default is none.

Details

Create a covariance matrix of type periodic with elements

r(s,t | θ) = exp ≤ft\{-2θ\, sen^2≤ft(π\frac{(t-s)}{T}\right) \right\}.

Value

Square correlation matrix of size length(unique(timeVec)) of type periodic.

Examples

1
2
myTime <- seq(0,1, length.out = 12)
periodicCorMtx(myTime, corPar = 8, truncateDec = 4)

gabrielfranco89/aggrmodel documentation built on June 1, 2020, 8:57 a.m.