is.connected.linnet: Determine Whether a Linear Network is Connected

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/linnet.R

Description

Determine whether a linear network is topologically connected.

Usage

1
2
## S3 method for class 'linnet'
is.connected(X, ...)

Arguments

X

A linear network (object of class "linnet").

...

Arguments passed to connected.linnet to determine the connected components.

Details

The command is.connected(X) returns TRUE if the network X consists of a single, topologically-connected piece, and returns FALSE if X consists of several pieces which are not joined together.

The function is.connected is generic, with methods for several classes. This help file documents the method for linear networks, is.connected.linnet.

Value

A logical value.

Author(s)

\spatstatAuthors

.

See Also

is.connected, connected, connected.lpp.

Examples

1
  is.connected(simplenet)

spatstat.linnet documentation built on July 17, 2021, 9:07 a.m.