powered by
Summary of cograph_network Object
# S3 method for cograph_network summary(object, ...)
A list with network summary information (invisibly), containing elements n_nodes, n_edges, directed, weighted, and has_layout.
n_nodes
n_edges
directed
weighted
has_layout
A cograph_network object.
Ignored.
adj <- matrix(c(0, 1, 1, 1, 0, 1, 1, 1, 0), nrow = 3) net <- cograph(adj) summary(net)
Run the code above in your browser using DataLab