graph_node_metrics: Node-wise (i.e. vertex-wise) graph metrics

View source: R/utils_graph.R

graph_node_metricsR Documentation

Node-wise (i.e. vertex-wise) graph metrics

Description

Node-wise (i.e. vertex-wise) graph metrics

Usage

graph_node_metrics(x, verbosity = 1L)

Arguments

x

igraph network.

verbosity

Integer: Verbosity level.

Value

data.frame.

Author(s)

EDG

Examples

## Not run: 
datcor <- cor(rnormmat(20, 20, seed = 2021))
datcor[sample(seq(datcor), 250)] <- 0
x <- igraph::graph_from_adjacency_matrix(
  adjmatrix = datcor,
  mode = "lower",
  weighted = TRUE,
  diag = FALSE
)

graph_node_metrics(x)

## End(Not run)

egenn/rtemis documentation built on June 14, 2025, 11:54 p.m.