For details on the methods see the documentation of the corresponding classes.

neighborhood(object, ...)

neighborhood(object) <- value

Arguments

object

One of sp_network_nodes-class(), sp_multi_network-class()

...

Arguments to be passed to methods

value

A neighborhood matrix to replace the existing one

Value

A matrix (optionally sparse), representing the neighborhood links between the nodes

See also