Smooth.locppm: Smooth a locally fitted Gibbs model

View source: R/locppm.R

Smooth.locppmR Documentation

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 class 'locppm'
Smooth(X, ..., what = "cg")

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.

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.

Value

A pixel image or a list of pixel images.

Author(s)

\adrian

.

References

\localpaper \baddrubaturnbook

See Also

locppm, Smooth.ppp

Examples

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

baddstats/spatstat.local documentation built on April 28, 2024, 5:43 a.m.