Learn R Programming

splancs (version 2.01-3)

kernel3d: Space-time kernel

Description

Compute the space-time kernel

Usage

kernel3d(pts, times, xgr, ygr, tgr, hxy, ht)

Arguments

pts
A matrix of event coodinates x,y.
times
A vector of event times, t.
xgr
The values of x at which to compute the kernel function.
ygr
The values of y at which to compute the kernel function.
tgr
The values of t at which to compute the kernel function.
hxy
The quartic kernel width in the x and y direction.
ht
The quartic kernel width in the temporal direction.

Value

  • A list is returned. Most of the components are just copies of the input parameters, except for the $v parameter. This is a three dimensional array containing the kernel-smoothed values. Its dimension is [length(xgr),length(ygr),length(tgr)].

References

Rowlingson, B. and Diggle, P. 1993 Splancs: spatial point pattern analysis code in S-Plus. Computers and Geosciences, 19, 627-655; 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, 307-317.

See Also

kerview