Learn R Programming

cograph (version 2.0.0)

summary.cograph_network: Summary of cograph_network Object

Description

Summary of cograph_network Object

Usage

# S3 method for cograph_network
summary(object, ...)

Value

A list with network summary information (invisibly), containing elements n_nodes, n_edges, directed, weighted, and has_layout.

Arguments

object

A cograph_network object.

...

Ignored.

Examples

Run this code
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