Skip to contents

Locates the root of a network, assuming it has one. If the network has unconnected nodes or does not have a valid root, returns an error

Usage

LocateRoot(network)

Arguments

network

A sf network object with a valid root

Value

A sf object with POINT geometry representing the root of the network