getNodesImportance: Calculate the importance of a node in a graph

Description Usage Arguments Value

View source: R/drivingforce.R

Description

Calculate the importance of a node in a graph

Usage

1
2
3
getNodesImportance(graph, nodes = NULL, measurements = c("DFC", "DCC",
  "DDC", "DC", "CC", "BC"), componentType = "weak", pathType = "all",
  directed = FALSE, normalized = TRUE)

Arguments

componentType

character string, either weak or strong; for directed graphs, weak implies weakly, strong strongly connected components to search.

pathType

defined the types of the paths used for measuring the distance in directed graphs.

directed

whether the graph is directed or undirected;

normalized

whether to rescale the results to [0,1]

g

an igraph object

measurement

DFC, DCC, DDC, DC, CC, BC

Value

a importance matrix


minzheguo/SINCERA documentation built on Feb. 3, 2021, 2:31 p.m.