simple.cov.time | R Documentation |
Calculates a temporal covariance using a (Euclidean) distance matrix T
. Not intended to be used directly by user (though it may be helpful to some). It is used in the covets
function. No argument or error checking is provided for this function.
simple.cov.time(T, t.type, t.par)
T |
A distance matrix. |
t.type |
A character vector specifying the temporal covariance type. Only "ar1" is currently implemented. |
t.par |
A vector of length 1 specifying the strength of dependence of the covariance function. |
Returns a covariance matrix.
Joshua French
~ cov.st
T <- dist1(matrix(1:10))
simple.cov.time(T = T, t.type = "ar1", t.par = .5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.