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.