kerview | R Documentation |
A linked-window system for browsing space-time data.
kerview(pts, times, k3, map=TRUE, addimg=TRUE, ncol=1)
pts |
A matrix of event x,y coordinates. |
times |
A vector of event times. |
k3 |
An object returned from |
map |
If false, don't plot the map display. |
addimg |
If true, overwrite successive images in the image display, else make a fresh image plot each time. |
ncol |
Number of columns and rows for multiple images and maps. |
This function displays three linked views of the data. In the current graphics window a temporal slice from the kernel smoothing is displayed. Another graphics device is started to display a map of the data that contributed to that time-slice. A third graphics device shows a histogram of the times of the events. Clicking with the mouse in this window with button 1 sets the time for the other displays to the time on the x-axis of the histogram at the clicked point.
In this way the 3-dimensional kernel smoothed function can be browsed, and the corresponding map of the data compared.
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: https://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.
kernel3d
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.