Learn R Programming

migraph (version 0.8.13)

graph_components: Number of components in the network

Description

Number of components in the network

Usage

graph_components(object, method = c("weak", "strong"))

Arguments

object

a migraph-consistent object

method

For directed networks, either weak if edge direction is irrelevant, or strong if edge direction is salient. Ignored if network undirected.