# 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. If`FALSE`

, 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"`

) provided`drop=TRUE`

. For vector-valued measures (or if`drop=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.,
*Journal of the Royal Statistical Society, Series B*
**67**, 617--666.

Baddeley, A., *Annals of the Institute of Statistical Mathematics*
**60**, 627--649.
}
[object Object]
`Smooth`

,
`msr`

,
`plot.msr`

*Documentation reproduced from package spatstat, version 1.41-1, License: GPL (>= 2)*