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

View source: R/graph_node_metrics.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, verbose = TRUE)

Arguments

x

igraph network

verbose

Logical: If TRUE, print messages to console

Author(s)

E.D. Gennatas

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 May 4, 2024, 7:40 p.m.