View source: R/graph_node_metrics.R
graph_node_metrics | R Documentation |
Node-wise (i.e. vertex-wise) graph metrics
graph_node_metrics(x, verbose = TRUE)
x |
igraph network |
verbose |
Logical: If TRUE, print messages to console |
E.D. Gennatas
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.