Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

simple.cov.time

Calculates temporal covariance based on distance matrix


Description

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.

Usage

simple.cov.time(T, t.type, t.par)

Arguments

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.

Value

Returns a covariance matrix.

Author(s)

Joshua French

See Also

~ cov.st

Examples

T <- dist1(matrix(1:10))
	simple.cov.time(T = T, t.type = "ar1", t.par = .5)

SpatialTools

Tools for Spatial Data Analysis

v1.0.4
GPL (>= 2)
Authors
Joshua French <joshua.french@ucdenver.edu>
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.