Learn R Programming

spatstat.core (version 2.3-1)

Smooth.ssf: Smooth a Spatially Sampled Function

Description

Applies kernel smoothing to a spatially sampled function.

Usage

# S3 method for ssf
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
# NOT RUN {
   f <- ssf(redwood, nndist(redwood))
   Smooth(f, sigma=0.1)
# }

Run the code above in your browser using DataLab