Convert network to data frame.

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