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

is.connected.ppp

Determine Whether a Point Pattern is Connected


Description

Determine whether a point pattern is topologically connected when all pairs of points closer than a threshold distance are joined.

Usage

## S3 method for class 'ppp'
is.connected(X, R, ...)

Arguments

X

A point pattern (object of class "ppp").

R

Threshold distance. Pairs of points closer than R units apart will be joined together.

...

Ignored.

Details

The function is.connected is generic. This is the method for point patterns (objects of class "ppp").

The point pattern X is first converted into an abstract graph by joining every pair of points that lie closer than R units apart. Then the algorithm determines whether this graph is connected.

That is, the result of is.connected(X) is TRUE if any point in X can be reached from any other point, by a series of steps between points of X, each step being shorter than R units in length.

Value

A logical value.

Author(s)

Adrian Baddeley Adrian.Baddeley@curtin.edu.au, Rolf Turner r.turner@auckland.ac.nz and Ege Rubak rubak@math.aau.dk

See Also

Examples

is.connected(redwoodfull, 0.1)
  is.connected(redwoodfull, 0.2)

spatstat.geom

Geometrical Functionality of the 'spatstat' Family

v2.1-0
GPL (>= 2)
Authors
Adrian Baddeley [aut, cre], Rolf Turner [aut], Ege Rubak [aut], Tilman Davies [ctb], Ute Hahn [ctb], Abdollah Jalilian [ctb], Sebastian Meyer [ctb], Suman Rakshit [ctb], Dominic Schuhmacher [ctb], Rasmus Waagepetersen [ctb]
Initial release
2021-04-15

We don't support your browser anymore

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