Learn R Programming

spatstat.local (version 5.1-0)

Smooth.locppm: Smooth a locally fitted Gibbs model

Description

Applies kernel smoothing to one of the components of a locally-fitted Gibbs point process model.

Usage

# S3 method for locppm
Smooth(X, ..., what = "cg")

Value

A pixel image or a list of pixel images.

Arguments

X

A locally-fitted Gibbs point process model (object of class "locppm").

...

Arguments passed to Smooth.ppp to control the smoothing.

what

Component to be smoothed. A character string. The default is to smooth the fitted coefficient vectors.

Author

Adrian Baddeley Adrian.Baddeley@curtin.edu.au.

Details

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.

References

Baddeley, A. (2017) Local composite likelihood

Baddeley, A., Rubak, E. and Turner, R. (2015) Spatial Point Patterns: Methodology and Applications with R. Chapman and Hall/CRC Press.

See Also

locppm, Smooth.ppp

Examples

Run this code
  fit <- locppm(cells, sigma=0.1, use.fft=TRUE)
  plot(Smooth(fit))

Run the code above in your browser using DataLab