as.data.frame.Network: Convert network to data frame.

Description Usage Arguments Value Note

View source: R/asDataFrameNetwork.R

Description

Convert network to data frame.

Usage

1
2
3
## S3 method for class 'Network'
as.data.frame(x, row.names = NULL, optional = FALSE,
  include.extras = TRUE, ...)

Arguments

x

[Network]
Network.

row.names

[character]
Row names for the result. Default is NULL.

optional

[any]
Currently not used.

include.extras

[logical(1)]
Include additional information like cluster membership and node type as specific columns? Default is TRUE.

...

[any]
Currently not used.

Value

[data.frame]

Note

If the instance contains of n depots, the depot coordinates fill the first n rows of the data frame.


jakobbossek/salesperson documentation built on Dec. 11, 2021, 4:54 a.m.