SmoothHeat.ppp | R Documentation |
Performs spatial smoothing of numeric values observed at a set of irregular locations, using the diffusion estimate of the density.
## S3 method for class 'ppp'
SmoothHeat(X, sigma, ..., weights=NULL)
X |
Point pattern (object of class |
sigma |
Smoothing bandwidth. A single number giving the equivalent standard deviation of the smoother. |
... |
Arguments passed to |
weights |
Optional numeric vector of weights associated with each data point. |
This is the analogue of the Nadaraya-Watson smoother, using the
diffusion smoothing estimation procedure (Baddeley et al, 2022).
The numerator and denominator of the Nadaraya-Watson smoother are
calculated using densityHeat.ppp
.
Pixel image (object of class "im"
) giving the smoothed
mark value.
, \tilman and Suman Rakshit.
Baddeley, A., Davies, T., Rakshit, S., Nair, G. and McSwiggan, G. (2022) Diffusion smoothing for spatial point patterns. Statistical Science 37, 123–142.
Smooth.ppp
for the usual kernel-based
smoother (the Nadaraya-Watson smoother)
and densityHeat
for the diffusion estimate of density.
plot(SmoothHeat(longleaf, 10))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.