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

diameter.linnet

Diameter and Bounding Radius of a Linear Network


Description

Compute the diameter or bounding radius of a linear network measured using the shortest path distance.

Usage

## S3 method for class 'linnet'
diameter(x)

## S3 method for class 'linnet'
boundingradius(x, ...)

Arguments

x

Linear network (object of class "linnet").

...

Ignored.

Details

The diameter of a linear network (in the shortest path distance) is the maximum value of the shortest-path distance between any two points u and v on the network.

The bounding radius of a linear network (in the shortest path distance) is the minimum value, over all points u on the network, of the maximum shortest-path distance from u to another point v on the network.

The functions boundingradius and diameter are generic; the functions boundingradius.linnet and diameter.linnet are the methods for objects of class linnet.

Value

A single numeric value.

Author(s)

See Also

Examples

diameter(simplenet)
   boundingradius(simplenet)

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.