as_tibble.combined_networks {ergm.multi}R Documentation

An as_tibble method for combined networks.

Description

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.

Usage

## S3 method for class 'combined_networks'
as_tibble(
  x,
  attrnames = (match.arg(unit) %in% c("vertices", "networks")),
  ...,
  unit = c("edges", "vertices", "networks"),
  .NetworkID = ".NetworkID",
  .NetworkName = ".NetworkName"
)

Arguments

x

a combined_networks (inheriting from network::network).

attrnames

a list (or a selection index) for attributes to obtain; for combined networks, defaults to all.

...

additional arguments, currently passed to unlist()].

unit

whether to obtain edge, vertex, or network attributes.

.NetworkID, .NetworkName

Optional strings indicating the vertex attributes used to distinguish and name the networks; intended to be used by term developers.

See Also

network::as_tibble.network()


[Package ergm.multi version 0.2.1 Index]