componentize_matrix: Break up an Adjacency Matrix by Components

View source: R/componentize_matrix.r

componentize_matrixR Documentation

Break up an Adjacency Matrix by Components

Description

Break up an Adjacency Matrix by Components

Usage

componentize_matrix(
  x,
  comp_name = "component",
  adj_mat_name = "adj_mat",
  size_name = "size"
)

Arguments

x

an adjacency matrix

comp_name

the name of the output component column. Default "component".

adj_mat_name

the name of the output adjacency matrix. Default "adj_mat".

size_name

the name of the column denoting the component size. Default "size".


kaneplusplus/graphmobility documentation built on June 27, 2023, 2:52 p.m.