Convert network to matrix.

# S3 method for Network
as.matrix(x, ...)

Arguments

x

[Network]
Network.

...

[any]
Currently not used.

Value

[matrix]

Note

If the instance contains of \(n\) depots, the depot coordinates fill the first \(n\) rows of the matrix.