as_tibble
method for combined networks.A method to obtain a network attribute table from a
combined_networks
object, falling back to the
network::as_tibble.network()
if vertex or edge attributes are
required.
# S3 method for combined_networks
as_tibble(
x,
attrnames = (match.arg(unit) %in% c("vertices", "networks")),
...,
unit = c("edges", "vertices", "networks"),
.NetworkID = ".NetworkID",
.NetworkName = ".NetworkName"
)
a combined_networks
(inheriting from network::network
).
a list (or a selection index) for attributes to obtain; for combined networks, defaults to all.
additional arguments, currently passed to unlist()].
whether to obtain edge, vertex, or network attributes.
Optional strings indicating the vertex attributes used to distinguish and name the networks; intended to be used by term developers.
network::as_tibble.network()