as.matrix.Network: Convert network to matrix.

View source: R/asMatrixNetwork.R

as.matrix.NetworkR Documentation

Convert network to matrix.

Description

Convert network to matrix.

Usage

## S3 method for class '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.


jakobbossek/netgen documentation built on Feb. 11, 2024, 1:02 a.m.