Learn R Programming

spatstat.explore (version 3.1-0)

Smooth.ssf: Smooth a Spatially Sampled Function

Description

Applies kernel smoothing to a spatially sampled function.

Usage

# S3 method for ssf
Smooth(X, ...)

Value

A pixel image or a list of pixel images.

Arguments

X

Object of class "ssf".

...

Arguments passed to Smooth.ppp to control the smoothing.

Author

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

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