Learn R Programming

spatstat (version 1.60-1)

increment.fv: Increments of a Function

Description

Compute the change in the value of a function f when the function argument increases by delta.

Usage

increment.fv(f, delta)

Arguments

f

Object of class "fv" representing a function.

delta

Numeric. The increase in the value of the function argument.

Value

Another object of class "fv" compatible with X.

Details

This command computes the new function $$g(x) = f(x+h) - f(x-h)$$ where h = delta/2. The value of \(g(x)\) is the change in the value of \(f\) over an interval of length delta centred at \(x\).

See Also

fv.object, deriv.fv

Examples

Run this code
# NOT RUN {
  plot(increment.fv(Kest(cells), 0.05))
# }

Run the code above in your browser using DataLab