Get total degree distribution data for a graph
Get degree distribution data for a graph. Graph degree is represented as a frequency of total degree values over all nodes in the graph.
get_degree_distribution(graph, mode = "total")
graph |
A graph object of class |
mode |
using |
A data frame with degree frequencies.
# Create a random graph using the # `add_gnm_graph()` function graph <- create_graph( directed = FALSE) %>% add_gnm_graph( n = 10, m = 15, set_seed = 23) # Get the total degree # distribution for the graph graph %>% get_degree_distribution( mode = "total")
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.