Smooth.msr
Smooth a Signed or Vector-Valued Measure
Apply kernel smoothing to a signed measure or vector-valued measure.
Usage
## S3 method for class 'msr':
Smooth(X, ..., drop=TRUE)
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. - drop
- Logical. If
TRUE
(the default), the result of smoothing a scalar-valued measure is a pixel image. IfFALSE
, the result of smoothing a scalar-valued measure is a list containing one pixel image.
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
.
Value
- A pixel image or a list of pixel images.
For scalar-valued measures, a pixel image (object of class
"im"
) provideddrop=TRUE
. For vector-valued measures (or ifdrop=FALSE
), a list of pixel images; the list also belongs to the class"listof"
so that it can be printed and plotted.
References
Baddeley, A., Turner, R.,
Baddeley, A., Smooth
,
msr
,
plot.msr