Spatial and Spatiotemporal Relative Risk
The sparr Package: Spatial and Spatiotemporal Relative Risk
Spatiotemporal kernel density estimation
Spatiotemporal relative risk/density ratio
Available global bandwidth range
Bivariate kernel density/intensity estimation
Bootstrap bandwidth for a spatial kernel density estimate
Bootstrap bandwidths for a spatiotemporal kernel density estimate
Cross-validation bandwidths for spatial kernel density estimates
2D fast-Fourier wrapper around 'fftwtools' or 'stats' package
Jointly optimal bandwidth selection for the spatial relative risk func...
Cross-validation bandwidths for spatiotemporal kernel density estimate...
Multi-scale adaptive kernel density/intensity estimation
Slicing a multi-scale density/intensity object
Normal scale (NS) bandwidth selector
Oversmoothing (OS) bandwidth selector
Plotting sparr objects
Printing sparr objects
Random point generation inside polygon
Spatial relative risk/density ratio
Simultaneous global/pilot likelihood bandwidth selection
Internal sparr
functions
Slicing a spatiotemporal object
Summarising sparr objects
Classification by p-value surfaces
Plot tolerance contour classification scheme
Plot tolerance contours
Tolerance by p-value surfaces
Provides functions to estimate kernel-smoothed spatial and spatio-temporal densities and relative risk functions, and perform subsequent inference. Methodological details can be found in the accompanying tutorial: Davies et al. (2018) <DOI:10.1002/sim.7577>.
Useful links