smooth.fv

0th

Percentile

Apply Smoothing to Function Values

Applies spline smoothing to the values in selected columns of a function value table.

Keywords
spatial, nonparametric
Usage
smooth.fv(x, which = ".", ...)
Arguments
x
Values to be smoothed. A function value table (object of class "fv", see fv.object).
which
Character vector identifying which columns of the table should be smoothed. Either a vector containing names of columns, or the string "." representing all the columns that are plotted by default.
...
Extra arguments passed to smooth.spline to control the smoothing.
Details

smooth.spline is applied to each of the selected columns in turn (using the function argument as the $x$ coordinate and the selected column as the $y$ coordinate). The original function values are then replaced by the corresponding smooth interpolated function values.

Value

• Another function value table (object of class "fv") of the same format.

with.fv, fv.object, smooth.spline

• smooth.fv
Examples
data(cells)
G <- Gest(cells)
plot(G)
plot(smooth.fv(G, df=9), add=TRUE)
Documentation reproduced from package spatstat, version 1.18-4, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.