Learn R Programming

spatstat (version 1.23-1)

smooth.msr: Smooth a Signed or Vector-Valued Measure

Description

Apply kernel smoothing to a signed measure or vector-valued measure.

Usage

smooth.msr(X, ...)

Arguments

X
Object of class "msr" representing a signed measure or vector-valued measure.
...
Arguments passed to density.ppp controlling the smoothing bandwidth and the pixel resolution.

Value

  • For signed measures, a pixel image (object of class "im"). For vector-valued measures, a list of pixel images; the list also belongs to the class "listof" so that it can be printed and plotted.

Details

This function applies kernel smoothing to a signed measure or vector-valued measure X. The Gaussian kernel is used.

The object X would typically have been created by residuals.ppm or msr.

References

Baddeley, A., Turner, R., Moller, J. and Hazelton, M. (2005) Residual analysis for spatial point processes. Journal of the Royal Statistical Society, Series B 67, 617--666.

Baddeley, A., Moller, J. and Pakes, A.G. (2008) Properties of residuals for spatial point processes. Annals of the Institute of Statistical Mathematics 60, 627--649.

See Also

msr, plot.msr

Examples

Run this code
example(msr)
   plot(smooth.msr(rp))
   plot(smooth.msr(rs))

Run the code above in your browser using DataLab