stvmat
Compute the variance matrix for spacetime clustering
 Keywords
 spatial
Usage
stvmat(pts, times, poly, tlim, s, tm)
Arguments
 pts
 A set of points.
 times

A vector of times, the same length as the number of points in
pts
 poly
 A polygon that encloses the points
 tlim
 A vector of length 2 specifying the upper and lower temporal domain.
 s
 A vector of spatial distances for the analysis
 tm
 A vector of times for the analysis
Value
A fourdimensional matrix is returned. The covariance between spacetime
t1,s1
and t2,s2
is given by the corresponding element [t1,s1,t2,s2]
For full details, see Diggle, Chetwynd, Haggkvist and Morris (1995)
References
Diggle, P., Chetwynd, A., Haggkvist, R. and Morris, S. 1995 Secondorder analysis of spacetime clustering. Statistical Methods in Medical Research, 4, 124136; Rowlingson, B. and Diggle, P. 1993 Splancs: spatial point pattern analysis code in SPlus. Computers and Geosciences, 19, 627655; the original sources can be accessed at: http://www.maths.lancs.ac.uk/~rowlings/Splancs/. See also Bivand, R. and Gebhardt, A. 2000 Implementing functions for spatial statistical analysis using the R language. Journal of Geographical Systems, 2, 307317.