Functions that each produce an autocorrelation matrix with a specified pattern.
Source:R/covariance.R
correlations-2D.RdAccepts a vector of date-times or dates and returns a correlation matrix describing the assumed correlations between all possible pairs of those dates.
cormatEqualDates formalizes the assumption used by LOADEST and
rloadest: if two date-times are on the same calendar date, the correlation
(rho) is 1. Otherwise, rho=0.