Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

heatkernelapprox

Approximation to Heat Kernel on Linear Network at Source Point


Description

Computes an approximation to the value of the heat kernel on a network evaluated at its source location.

Usage

heatkernelapprox(X, sigma, nmax = 20, floored=TRUE)

Arguments

X

Point pattern on a linear network (object of class "lpp").

sigma

Numeric. Bandwidth for kernel.

nmax

Number of terms to be used in the sum.

floored

Logical. If TRUE, all values are constrained to be greater than or equal to 1/L where L is the total length of the network. This the exact value of the heat kernel when the bandwidth is infinite.

Details

For each point X[i] in the pattern X, this algorithm computes an approximation to the value of the heat kernel with source point X[i] evaluated at the same location.

The heat kernel κ(u,v) for a source location u evaluated at location v can be expressed as an infinite sum of contributions from all possible paths from u to v. This algorithm applies to the special case u=v where the source point and the query point are the same.

The algorithm computes an approximation to κ(u,u) by taking only the contributions from paths which (a) remain in the line segment containing the point u and (b) visit a vertex at most nmax times.

Value

Numeric vector with one entry for each point in X.

Author(s)

Greg McSwiggan and Adrian Baddeley Adrian.Baddeley@curtin.edu.au.

See Also

Examples

X <- runiflpp(3,simplenet)
  heatkernelapprox(X, 0.5)

spatstat.linnet

Linear Networks Functionality of the 'spatstat' Family

v2.1-1
GPL (>= 2)
Authors
Adrian Baddeley [aut, cre], Rolf Turner [aut], Ege Rubak [aut], Ottmar Cronie [ctb], Tilman Davies [ctb], Greg McSwiggan [ctb], Suman Rakshit [ctb]
Initial release
2021-03-28

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.