Learn R Programming

spnet (version 0.9.1-0)

graph.network.data<-: Set the data of a given network of a SpatialNetwork object

Description

This generic method intends to set or replace the data of a given network of a SpatialNetwork object.

Usage

graph.network.data(object, network.name) <- value

Arguments

object
a SpatialNetwork object.
network.name
character; the name of the network.
value
the network data. Currently only support a matrix object.