Smooth.locppm | R Documentation |
Applies kernel smoothing to one of the components of a locally-fitted Gibbs point process model.
## S3 method for class 'locppm'
Smooth(X, ..., what = "cg")
X |
A locally-fitted Gibbs point process model (object of class
|
... |
Arguments passed to |
what |
Component to be smoothed. A character string. The default is to smooth the fitted coefficient vectors. |
This function extracts the selected quantity from the fitted object
and spatially smooths it using Smooth.ppp
.
The result is a pixel image or a list of pixel images.
A pixel image or a list of pixel images.
.
locppm
,
Smooth.ppp
fit <- locppm(cells, sigma=0.1, use.fft=TRUE)
plot(Smooth(fit))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.