R/NetworkAnalysis.R
get_degree.Rd
Compute the degree of each nodes in the network
get_degree(graph, modes = c("in", "out", "total"))
an igraph object
the type of degree: "in", "out", "total"
a data.table of nodes degree