Learn R Programming

spatstat (version 1.48-0)

Smooth.ssf: Smooth a Spatially Sampled Function

Description

Applies kernel smoothing to a spatially sampled function.

Usage

"Smooth"(X, ...)

Arguments

X
Object of class "ssf".
...
Arguments passed to Smooth.ppp to control the smoothing.

Value

A pixel image or a list of pixel images.

Details

An object of class "ssf" represents a real-valued or vector-valued function that has been evaluated or sampled at an irregular set of points.

The function values will be smoothed using a Gaussian kernel.

See Also

ssf, Smooth.ppp

Examples

Run this code
   f <- ssf(redwood, nndist(redwood))
   Smooth(f, sigma=0.1)

Run the code above in your browser using DataLab