Home > Enterprise >  What does `total` mean in the field `mode` of `closeness` definition in `igraph` package?
What does `total` mean in the field `mode` of `closeness` definition in `igraph` package?

Time:02-07

What does total mean in the field mode of closeness definition in igraph package?

closeness(
  graph,
  vids = V(graph),
  mode = c("out", "in", "all", "total"),
  weights = NULL,
  normalized = FALSE
)

CodePudding user response:

"total" is an alias for "all", i.e. for ignoring edge directions.

  •  Tags:  
  • Related