as.matrix.Network: Convert network to matrix.

Description Usage Arguments Value Note

View source: R/asMatrixNetwork.R

Description

Convert network to matrix.

Usage

1
2
## 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/salesperson documentation built on Dec. 11, 2021, 4:54 a.m.